mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 15:08:18 +00:00
eudev: disable install-exec-hook target (ZHF)
This commit is contained in:
parent
8e56309dd5
commit
b847dec4a0
@ -26,6 +26,12 @@ stdenv.mkDerivation {
|
||||
"hwdb_bin=/var/lib/udev/hwdb.bin"
|
||||
"udevrulesdir=/etc/udev/rules.d"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
# Disable install-exec-hook target as it conflicts with our move-sbin setup-hook
|
||||
sed -i 's;$(MAKE) $(AM_MAKEFLAGS) install-exec-hook;$(MAKE) $(AM_MAKEFLAGS);g' src/udev/Makefile
|
||||
'';
|
||||
|
||||
installFlags =
|
||||
[
|
||||
"localstatedir=$(TMPDIR)/var"
|
||||
|
Loading…
Reference in New Issue
Block a user