mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Improve eudev paths in the same way as they are set in the original package
This commit is contained in:
parent
377822fb64
commit
59ec0f0e0d
@ -18,6 +18,20 @@ stdenv.mkDerivation {
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
];
|
||||
makeFlags = "hwdb_bin=/var/lib/udev/hwdb.bin";
|
||||
installFlags =
|
||||
[
|
||||
"localstatedir=$(TMPDIR)/var"
|
||||
"sysconfdir=$(out)/etc"
|
||||
"udevconfdir=$(out)/etc/udev"
|
||||
"udevhwdbbin=$(out)/var/lib/udev/hwdb.bin"
|
||||
"udevhwdbdir=$(out)/var/lib/udev/hwdb.d"
|
||||
];
|
||||
enableParallelBuilding = true;
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''An udev fork by Gentoo'';
|
||||
|
Loading…
Reference in New Issue
Block a user