networkmanager: fix path /sbin/modprobe

This commit is contained in:
Fabian Schmitthenner 2016-01-01 23:31:45 +00:00 committed by Bjørn Forsman
parent 4a69e5ae85
commit 28b3ecac07

View File

@ -15,8 +15,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
substituteInPlace tools/glib-mkenums --replace /usr/bin/perl ${perl}/bin/perl substituteInPlace tools/glib-mkenums --replace /usr/bin/perl ${perl}/bin/perl
substituteInPlace src/ppp-manager/nm-ppp-manager.c --replace /sbin/modprobe /run/current-system/sw/sbin/modprobe substituteInPlace src/NetworkManagerUtils.c --replace /sbin/modprobe /run/current-system/sw/sbin/modprobe
substituteInPlace src/devices/nm-device.c --replace /sbin/modprobe /run/current-system/sw/sbin/modprobe
substituteInPlace data/85-nm-unmanaged.rules \ substituteInPlace data/85-nm-unmanaged.rules \
--replace /bin/sh ${stdenv.shell} \ --replace /bin/sh ${stdenv.shell} \
--replace /usr/sbin/ethtool ${ethtool}/sbin/ethtool \ --replace /usr/sbin/ethtool ${ethtool}/sbin/ethtool \