* Don't look in /lib/udev but in $out/lib/udev for non-absolute

helper programs called from udev rules.

svn path=/nixpkgs/trunk/; revision=12242
This commit is contained in:
Eelco Dolstra 2008-07-02 17:07:26 +00:00
parent b71ae8ce6b
commit 033d8cd1f3

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation {
mandir=$out/share/man includedir=$out/include \
EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id extras/floppy extras/path_id extras/scsi_id extras/usb_id extras/volume_id"
INSTALL='install -c' DESTDIR=/)
substituteInPlace udev_rules.c --replace /lib/udev $out/lib/udev
'';
preInstall = ''