anchor.diff:      "--localstatedir=/var"
       "--enable-library"
       "--enable-cups"
  +    "--enable-pie"
       "--with-dbusconfdir=$(out)/etc"
       "--with-dbussystembusdir=$(out)/share/dbus-1/system-services"
       "--with-dbussessionbusdir=$(out)/share/dbus-1/services"
  
positive.code: assert stdenv.isLinux;
  
  stdenv.mkDerivation rec {
    name = "bluez-5.43";
  
    src = fetchurl {
      url = "mirror://kernel/linux/bluetooth/${name}.tar.xz";
      sha256 = "05cdnpz0w2lwq2x5ba87q1h2wgb4lfnpbnbh6p7499hx59fw1j8n";
    };
  
    pythonPath = with pythonPackages;
  
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
  