anchor.diff:      })
     ];
   
  -  preConfigure = ''
  -    substituteInPlace tools/glib-mkenums \
  -      --replace '/usr/bin/perl' '${perl}/bin/perl'
  -    substituteInPlace src/NetworkManagerUtils.c \
  -      --replace '/sbin/modprobe' '/run/current-system/sw/sbin/modprobe'
  -    substituteInPlace data/85-nm-unmanaged.rules \
  -      --replace '/bin/sh' '${stdenv.shell}' \
  -      --replace '/usr/sbin/ethtool' '${ethtool}/sbin/ethtool' \
  -      --replace '/bin/sed' '${gnused}/bin/sed'
  -    configureFlagsArray+=("--with-udev-dir=$out/lib/udev")
  -  '';
  +  preConfigure =
  +    /* fix hardcoded `mobprobe` search path */ ''
  +      sed -i src/NetworkManagerUtils.c \
  +        -e 's,/sbin/modprobe,/run/current-system/sw/sbin/modprobe,'
  +    '' + /* fix hardcoded paths in udev rules */ ''
  +      sed -i data/84-nm-drivers.rules \
  +        -e 's,/bin/sh,${stdenv.shell},'
  +      sed -i data/85-nm-unmanaged.rules \
  +        -e 's,/bin/sh,${stdenv.shell},' \
  +        -e 's,/usr/sbin/ethtool,${ethtool}/sbin/ethtool,' \
  +        -e 's,/bin/sed,${gnused}/bin/sed,'
  +    '' + ''
  +      configureFlagsArray+=("--with-udev-dir=$out/lib/udev")
  +    '';
   
     configureFlags = [
  -    #"--with-distro=exherbo"
       "--sysconfdir=/etc"
       "--localstatedir=/var"
   
  
positive.code: , bluez
  , dbus
  , dbus-glib
  , dhcp
  , dhcpcd
  , dnsmasq
  , ethtool
  , glib
  , gnused
  , gobject-introspection
  , iptables
  , libgcrypt
  
negative.code:       mkdir -pv $out/etc/systemd/system
        ln -sv \
          $out/lib/systemd/system/NetworkManager.service \
          $out/etc/systemd/system/networkmanager.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
      '';
  
    meta = with stdenv.lib; {
  