anchor.diff:  , xz
   }:
   
  +with {
  +  inherit (stdenv.lib)
  +    enFlag;
  +};
  +
   stdenv.mkDerivation rec {
     name = "network-manager-${version}";
     versionMajor = "1.0";
  
positive.code:     ppp
      readline
      udev
      #vala
      wirelesstools
      xz
    ];
  
    preInstall = ''
      installFlagsArray=(
        "sysconfdir=$out/etc"
        "localstatedir=$out/var"
      )
    '';
  
    postInstall = ''
  
      # FIXME: Workaround until NixOS' dbus+systemd supports at_console policy
      substituteInPlace $out/etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf \
        --replace 'at_console="true"' 'group="networkmanager"'
  
      # rename to network-manager to be in style
      #mv -v $out/etc/systemd/system/NetworkManager.service \
      #  $out/etc/systemd/system/network-manager.service
  
      # systemd in NixOS doesn't use `systemctl enable`, so we need to establish
      # aliases ourselves.
      mkdir -pv $out/etc/systemd/system
      ln -sv $out/lib/systemd/system/NetworkManager.service \
        $out/etc/systemd/system/network-manager.service
      ln -sv $out/lib/systemd/system/NetworkManager.service \
        $out/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
      ln -sv $out/lib/systemd/system/NetworkManager-dispatcher.service \
        $out/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
    '';
  
    enableParallelBuilding = true;
  
    meta = with stdenv.lib; {
      description = "Network configuration and management tool";
  
negative.code:           "NetworkManager-${version}.tar.xz";
      sha256 = "1g4z2wg036n0njqp8fycrisj46l3yda6pl00l4rg9nfz862cxkqv";
    };
  
    nativeBuildInputs = [
      gettext
  