diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-14 13:00:52 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-19 17:56:49 +0300 |
commit | 5ff6e98486adb1a3ff3f705bdc43216d3a885d73 (patch) | |
tree | e8e36c540e783fec13775b2a68ba72e7d1881e3d /nixos/modules/services/hardware/udev.nix | |
parent | ff227057931f5977352f7583b00f9d1f8cf43da5 (diff) |
modprobe service: drop kmod wrapper
Diffstat (limited to '')
-rw-r--r-- | nixos/modules/services/hardware/udev.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/udev.nix b/nixos/modules/services/hardware/udev.nix index e7741083d1ae..fb44790ab1f1 100644 --- a/nixos/modules/services/hardware/udev.nix +++ b/nixos/modules/services/hardware/udev.nix @@ -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 \ |