anchor.diff:        ln -s ../test/$a $out/bin/bluez-$a
       done
       popd
  -    wrapPythonProgramsIn $out/test "$out/test $pythonPath"
  +    wrapPythonProgramsIn $test/test "$test/test $pythonPath"
   
       # for bluez4 compatibility for NixOS
       mkdir $out/sbin
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "bluez-5.37";
     
    src = fetchurl {
      url = "mirror://kernel/linux/bluetooth/${name}.tar.xz";
      sha256 = "c14ba9ddcb0055522073477b8fd8bf1ddf5d219e75fdfd4699b7e0ce5350d6b0";
  
negative.code:   # FIXME: Move these into a separate package to prevent Bluez from
    # depending on Python etc.
    postInstall = ''
      mkdir -p $test/test
      cp -a test $test
      pushd $test/test
      for a in \
              simple-agent \
              test-adapter \
  