mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
networkmanager: fix path /sbin/modprobe
This commit is contained in:
parent
4a69e5ae85
commit
28b3ecac07
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user