diff --git a/pkgs/os-specific/linux/mdadm/default.nix b/pkgs/os-specific/linux/mdadm/default.nix index a3e29ba92a7e6..48e1c17849007 100644 --- a/pkgs/os-specific/linux/mdadm/default.nix +++ b/pkgs/os-specific/linux/mdadm/default.nix @@ -22,12 +22,6 @@ 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;