anchor.diff:      libapparmor libcap_ng numactl attr parted
     ] ++ optionals (enableXen && stdenv.isLinux && stdenv.isx86_64) [
       xen
  +  ] ++ optionals enableIscsi [
  +    openiscsi
     ] ++ optionals stdenv.isDarwin [
       libiconv gmp
     ];
  
positive.code:   preConfigure = ''
      ${ optionalString (!buildFromTarball) "./bootstrap --no-git --gnulib-srcdir=$(pwd)/.gnulib" }
  
      PATH=${stdenv.lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables ebtables lvm2 systemd numad ])}:$PATH
  
      # the path to qemu-kvm will be stored in VM's .xml and .save files
      # do not use "''${qemu_kvm}/bin/qemu-kvm" to avoid bound VMs to particular qemu derivations
  
negative.code:     "--with-storage-disk"
    ] ++ optionals (stdenv.isLinux && zfs != null) [
      "--with-storage-zfs"
    ] ++ optionals enableIscsi [
      "--with-storage-iscsi"
    ] ++ optionals stdenv.isDarwin [
      "--with-init-script=none"
    ];
  