3
0
Fork 0
forked from mirrors/nixpkgs

Try harder to use out-of-store udev rule location

This commit is contained in:
Michael Raskin 2014-12-13 12:55:11 +03:00
parent efd51accc4
commit 34b0d860d5

View file

@ -22,7 +22,10 @@ stdenv.mkDerivation {
"--localstatedir=/var"
"--sysconfdir=/etc"
];
makeFlags = "hwdb_bin=/var/lib/udev/hwdb.bin";
makeFlags = [
"hwdb_bin=/var/lib/udev/hwdb.bin"
"udevrulesdir=/etc/udev/rules.d"
];
installFlags =
[
"localstatedir=$(TMPDIR)/var"
@ -30,6 +33,7 @@ stdenv.mkDerivation {
"udevconfdir=$(out)/etc/udev"
"udevhwdbbin=$(out)/var/lib/udev/hwdb.bin"
"udevhwdbdir=$(out)/var/lib/udev/hwdb.d"
"udevrulesdir=$(out)/var/lib/udev/rules.d"
];
enableParallelBuilding = true;
meta = {