modprobe service: drop kmod wrapper

This commit is contained in:
Nikolay Amiantov
2016-08-16 00:19:25 +03:00
parent 1afd250676
commit b2ebecd9e5
7 changed files with 8 additions and 43 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ let
# Fix some paths in the standard udev rules. Hacky.
for i in $out/*.rules; do
substituteInPlace $i \
--replace \"/sbin/modprobe \"${config.system.sbin.modprobe}/sbin/modprobe \
--replace \"/sbin/modprobe \"${pkgs.kmod}/bin/modprobe \
--replace \"/sbin/mdadm \"${pkgs.mdadm}/sbin/mdadm \
--replace \"/sbin/blkid \"${pkgs.utillinux}/sbin/blkid \
--replace \"/bin/mount \"${pkgs.utillinux}/bin/mount \