acpilight: fix build error

udevadm should not run as part of make install
This commit is contained in:
arcnmx 2019-06-22 13:10:32 -07:00
parent 987ec8aed4
commit 3f79ede5c0

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, python3, udev, coreutils }:
{ stdenv, fetchgit, python3, coreutils }:
stdenv.mkDerivation rec {
pname = "acpilight";
@ -16,9 +16,10 @@ stdenv.mkDerivation rec {
postConfigure = ''
substituteInPlace 90-backlight.rules --replace /bin ${coreutils}/bin
substituteInPlace Makefile --replace udevadm true
'';
buildInputs = [ pyenv udev ];
buildInputs = [ pyenv ];
makeFlags = [ "DESTDIR=$(out) prefix=" ];