git.iko.soy/typeable/nixpkgs
on master help sign in
Merge commit 'refs/pull/14242/head' of git://github.com/NixOS/nixpkgs
commit53302449580256ea0dc3373cb258eb9792c8b309 authorNikolay Amiantov <ab@fmap.me> dateThu 7 Apr 2016, 03:00 (11 years ago) parent61929cf8857774
1 file changed+4−2
pkgs/tools/networking/network-manager/default.nix+4−2
pkgs/tools/networking/network-manager/default.nix+4−2
@@ -2,7 +2,7 @@
22, udev, libgudev, libnl, libuuid, polkit, gnutls, ppp, dhcp, dhcpcd, iptables
33, libgcrypt, dnsmasq, avahi, bind, perl, bluez5, substituteAll, readline
44, gobjectIntrospection, modemmanager, openresolv, libndp, newt, libsoup
5−, ethtool, gnused }:
5+, ethtool, gnused, coreutils, file, inetutils }:
66
77stdenv.mkDerivation rec {
88 name = "network-manager-${version}";
@@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
1414 };
1515
1616 preConfigure = ''
17− substituteInPlace tools/glib-mkenums --replace /usr/bin/perl ${perl}/bin/perl
17+ substituteInPlace configure --replace /usr/bin/uname ${coreutils}/bin/uname
18+ substituteInPlace configure --replace /usr/bin/file ${file}/bin/file
19+ substituteInPlace src/devices/nm-device.c --replace /usr/bin/ping ${inetutils}/bin/ping
1820 substituteInPlace src/NetworkManagerUtils.c --replace /sbin/modprobe /run/current-system/sw/sbin/modprobe
1921 substituteInPlace data/85-nm-unmanaged.rules \
2022 --replace /bin/sh ${stdenv.shell} \