diff options
author | Peter Simons | 2010-05-19 12:26:12 +0000 |
---|---|---|
committer | Peter Simons | 2010-05-19 12:26:12 +0000 |
commit | f90d6ec47d3bf5dc9b060350b095067513339b36 (patch) | |
tree | 96fdb2c4d6ddb4afd2041b812899147cdb95ede4 /pkgs/os-specific | |
parent | d6201c6aacbb36c35c76b733c5f3cf1663078236 (diff) |
pkgs/os-specific/linux/hal/default.nix: deal with 'udev' being null
svn path=/nixpkgs/trunk/; revision=21870
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/hal/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/hal/default.nix b/pkgs/os-specific/linux/hal/default.nix index 74b6f2618472..6d870ebf453b 100644 --- a/pkgs/os-specific/linux/hal/default.nix +++ b/pkgs/os-specific/linux/hal/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { do substituteInPlace $i \ --replace /usr/sbin/dmidecode ${dmidecode}/sbin/dmidecode \ - --replace /sbin/udevadm ${udev}/sbin/udevadm \ + ${if udev != null then "--replace /sbin/udevadm ${udev}/sbin/udevadm" else ""} \ --replace /bin/mount ${utillinuxng}/bin/mount \ --replace /bin/umount ${utillinuxng}/bin/umount \ --replace /usr/bin/pm-is-supported ${pmutils}/bin/pm-is-supported \ |