mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #6006 from ts468/mdadm
Update path in udev rule of mdadm
This commit is contained in:
commit
54f0b25d92
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
|
|||
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 = {
|
||||
description = "Programs for managing RAID arrays under Linux";
|
||||
homepage = http://neil.brown.name/blog/mdadm;
|
||||
|
|
Loading…
Reference in a new issue