diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-15 10:32:32 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-16 00:19:26 +0300 |
commit | cd05a8ed000a48a617f3fd061c2837774f4e8c66 (patch) | |
tree | bcd11db1eadafdf7355c48a4983eb7b2d8b0bcf8 /pkgs | |
parent | 1f639587729daf6c34535addbc35fd6e5c816ffc (diff) | |
download | nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.tar nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.tar.gz nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.tar.bz2 nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.tar.lz nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.tar.xz nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.tar.zst nixpkgs-cd05a8ed000a48a617f3fd061c2837774f4e8c66.zip |
networkmanager: point to kmod's modprobe
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/network-manager/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/networking/network-manager/default.nix b/pkgs/tools/networking/network-manager/default.nix index dcaf339782b..57bf1a51a1a 100644 --- a/pkgs/tools/networking/network-manager/default.nix +++ b/pkgs/tools/networking/network-manager/default.nix @@ -2,7 +2,7 @@ , systemd, libgudev, libnl, libuuid, polkit, gnutls, ppp, dhcp, iptables , libgcrypt, dnsmasq, bluez5, readline , gobjectIntrospection, modemmanager, openresolv, libndp, newt, libsoup -, ethtool, gnused, coreutils, file, inetutils }: +, ethtool, gnused, coreutils, file, inetutils, kmod }: stdenv.mkDerivation rec { name = "network-manager-${version}"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { substituteInPlace configure --replace /usr/bin/uname ${coreutils}/bin/uname substituteInPlace configure --replace /usr/bin/file ${file}/bin/file substituteInPlace src/devices/nm-device.c --replace /usr/bin/ping ${inetutils}/bin/ping - substituteInPlace src/NetworkManagerUtils.c --replace /sbin/modprobe /run/current-system/sw/bin/modprobe + substituteInPlace src/NetworkManagerUtils.c --replace /sbin/modprobe ${kmod}/bin/modprobe substituteInPlace data/84-nm-drivers.rules \ --replace /bin/sh ${stdenv.shell} substituteInPlace data/85-nm-unmanaged.rules \ |