anchor.diff:    nativeBuildInputs = [ makeWrapper pkgconfig ];
     buildInputs = [
       libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl
  -    attr libxslt xhtml1 perlPackages.XMLXPath curl libpcap parted
  +    libxslt xhtml1 perlPackages.XMLXPath curl libpcap
     ] ++ optionals stdenv.isLinux [
       libpciaccess devicemapper lvm2 utillinux systemd libnl numad zfs
  -    libapparmor libcap_ng numactl xen
  +    libapparmor libcap_ng numactl xen attr parted
     ] ++ optionals stdenv.isDarwin [
        libiconv gmp
     ];
  
positive.code:     substituteInPlace $out/libexec/libvirt-guests.sh \
        --replace "$out/bin" "${gettext}/bin" \
        --replace "lock/subsys" "lock"
      rm $out/lib/systemd/system/{virtlockd,virtlogd}.*
    '' + optionalString stdenv.isLinux ''
      wrapProgram $out/sbin/libvirtd \
        --prefix PATH : ${makeBinPath [ iptables iproute pmutils numad numactl ]}
    '';
  
negative.code:     "--with-test"
      "--with-esx"
      "--with-remote"
    ] ++ optionals stdenv.isLinux [
      "--with-attr"
      "--with-apparmor"
  