forked from mirrors/nixpkgs
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 a new issue