3
0
Fork 0
forked from mirrors/nixpkgs

eudev: disable install-exec-hook target (ZHF)

This commit is contained in:
Pascal Wittmann 2015-07-09 12:27:29 +02:00
parent 8e56309dd5
commit b847dec4a0

View file

@ -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"