forked from mirrors/nixpkgs
Merge pull request #6006 from ts468/mdadm
Update path in udev rule of mdadm
This commit is contained in:
commit
54f0b25d92
|
@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preInstall =
|
||||||
|
''
|
||||||
|
substituteInPlace udev-md-raid-assembly.rules --replace "/sbin/mdadm" "$out/sbin/mdadm"
|
||||||
|
substituteInPlace udev-md-raid-arrays.rules --replace "/sbin/mdadm" "$out/sbin/mdadm"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Programs for managing RAID arrays under Linux";
|
description = "Programs for managing RAID arrays under Linux";
|
||||||
homepage = http://neil.brown.name/blog/mdadm;
|
homepage = http://neil.brown.name/blog/mdadm;
|
||||||
|
|
Loading…
Reference in a new issue