I hope that hardwareScan = false now works as expected again...
svn path=/nixos/trunk/; revision=12253
This commit is contained in:
parent
9b55a5c178
commit
2c56d137ee
|
@ -47,8 +47,16 @@ let
|
|||
ln -s ${nixRules} $out/${nixRules.name}
|
||||
shopt -s nullglob
|
||||
cp ${udev}/etc/udev/rules.d/*.rules $out/
|
||||
substituteInPlace $out/80-drivers.rules \
|
||||
--replace /sbin/modprobe ${modprobe}/sbin/modprobe
|
||||
${if config.boot.hardwareScan then
|
||||
''
|
||||
substituteInPlace $out/80-drivers.rules \
|
||||
--replace /sbin/modprobe ${modprobe}/sbin/modprobe
|
||||
''
|
||||
else
|
||||
''
|
||||
rm $out/80-drivers.rules
|
||||
''
|
||||
}
|
||||
for i in ${toString extraUdevPkgs}; do
|
||||
for j in $i/etc/udev/rules.d/*; do
|
||||
ln -s $j $out/$(basename $j)
|
||||
|
|
Loading…
Reference in New Issue