mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01: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
1 changed files with 14 additions and 0 deletions
|
@ -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 a new issue