Fix bad substitution of mdadm program name.

svn path=/nixos/trunk/; revision=21799
This commit is contained in:
Nicolas Pierron 2010-05-16 16:35:51 +00:00
parent a862661835
commit 49dcb07bd9

View File

@ -56,7 +56,7 @@ let
substituteInPlace $i \
--replace /sbin/modprobe ${modprobe}/sbin/modprobe \
--replace /sbin/blkid ${pkgs.utillinux}/sbin/blkid \
--replace /sbin/mdadm ${pkgs.mdadm}/sbin/madm \
--replace /sbin/mdadm ${pkgs.mdadm}/sbin/mdadm \
--replace '$env{DM_SBIN_PATH}/blkid' ${pkgs.utillinux}/sbin/blkid \
--replace 'ENV{DM_SBIN_PATH}="/sbin"' 'ENV{DM_SBIN_PATH}="${pkgs.lvm2}/sbin"'
done