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 {
|
src = fetchurl {
|
||||||
inherit (s) url sha256;
|
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 = {
|
meta = {
|
||||||
inherit (s) version;
|
inherit (s) version;
|
||||||
description = ''An udev fork by Gentoo'';
|
description = ''An udev fork by Gentoo'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user