Improve eudev paths in the same way as they are set in the original package

This commit is contained in:
Michael Raskin 2014-12-12 14:48:14 +03:00
parent 377822fb64
commit 59ec0f0e0d

View File

@ -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'';