git.iko.soy/typeable/nixpkgs
on master help sign in
networkmanager: point to kmod's modprobe
commitcd05a8ed000a48a617f3fd061c2837774f4e8c66 authorNikolay Amiantov <ab@fmap.me> dateMon 15 Aug 2016, 10:32 (10 years ago) parent1f63958
1 file changed+2−2
pkgs/tools/networking/network-manager/default.nix+2−2
pkgs/tools/networking/network-manager/default.nix+2−2
@@ -2,7 +2,7 @@
22, systemd, libgudev, libnl, libuuid, polkit, gnutls, ppp, dhcp, iptables
33, libgcrypt, dnsmasq, bluez5, readline
44, gobjectIntrospection, modemmanager, openresolv, libndp, newt, libsoup
5−, ethtool, gnused, coreutils, file, inetutils }:
5+, ethtool, gnused, coreutils, file, inetutils, kmod }:
66
77stdenv.mkDerivation rec {
88 name = "network-manager-${version}";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 substituteInPlace configure --replace /usr/bin/uname ${coreutils}/bin/uname
2020 substituteInPlace configure --replace /usr/bin/file ${file}/bin/file
2121 substituteInPlace src/devices/nm-device.c --replace /usr/bin/ping ${inetutils}/bin/ping
22− substituteInPlace src/NetworkManagerUtils.c --replace /sbin/modprobe /run/current-system/sw/bin/modprobe
22+ substituteInPlace src/NetworkManagerUtils.c --replace /sbin/modprobe ${kmod}/bin/modprobe
2323 substituteInPlace data/84-nm-drivers.rules \
2424 --replace /bin/sh ${stdenv.shell}
2525 substituteInPlace data/85-nm-unmanaged.rules \