anchor.diff:  , xz
   
   , dhcp-client ? "dhclient"
  -  , dhcp ? null
  -  , dhcpcd ? null
  +  , dhcp
  +  , dhcpcd
   }:
   
   let
  
positive.code: 
  stdenv.mkDerivation rec {
    name = "network-manager-${version}";
    versionMajor = "1.0";
    versionMinor = "12";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl rec {
      url = "mirror://gnome/sources/NetworkManager/${versionMajor}/"
          + "NetworkManager-${version}.tar.xz";
      sha256Url = "mirror://gnome/sources/NetworkManager/${versionMajor}/"
                + "NetworkManager-${version}.sha256sum";
      sha256 = "3a470f8c60109b1acb5784ddc2423501706b5fe34c793a6faee87e591eb04a9e";
    };
  
    nativeBuildInputs = [
  
negative.code: 
      #"--with-config-plugins-default"
      "--with-wext"
      #"--without-libnm-glib"
      #"--with-hostname-persist=default"
      "--with-systemd-journal"
      #"--with-logging-backend"
      "--with-systemd-logind"
      "--without-consolekit"
      "--with-session-tracking=systemd"
      "--with-suspend-resume=systemd"
      #"--with-selinux"
      #"--with-libaudit=yes-disabled-by-default"
      "--with-crypto=nss"
      #"--with-dbus-sys-dir"
      # TODO: make sure this path is correct
      #"--with-pppd-plugin-dir"
      "--with-pppd=${ppp}/bin/pppd"
      "--with-modem-manager-1"
      (wtFlag "dhclient" (dhcp-client == "dhclient") "${dhcp}/bin/dhclient")
      (wtFlag "dhcpcd" (dhcp-client == "dhcpcd") "${dhcpcd}/sbin/dhcpcd")
      "--with-resolvconf=${openresolv}/sbin/resolvconf"
      "--without-netconfig"
      "--with-iptables=${iptables}/bin/iptables"
      "--with-dnsmasq=${dnsmasq}/bin/dnsmasq"
      #"--with-dnssec-trigger=/path/to/dnssec-trigger-script"
      #"--with-system-ca-path=/path/"
      # FIXME: fix impure path
      "--with-kernel-firmware-dir=/run/current-system/firmware"
      (wtFlag "libsoup" (libsoup != null) null)
      "--with-nmcli"
      "--with-nmtui"
      "--with-more-asserts=0"
      "--without-valgrind"
      "--with-tests"
      "--without-valgrind-suppressions"
  