mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Try harder to use out-of-store udev rule location
This commit is contained in:
parent
efd51accc4
commit
34b0d860d5
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user