From 3f79ede5c07cbed818a21d6b3f0e5efe09cb2264 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Sat, 22 Jun 2019 13:10:32 -0700 Subject: [PATCH] acpilight: fix build error udevadm should not run as part of make install --- pkgs/misc/acpilight/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/acpilight/default.nix b/pkgs/misc/acpilight/default.nix index e36e4188500..50f4fe87ed8 100644 --- a/pkgs/misc/acpilight/default.nix +++ b/pkgs/misc/acpilight/default.nix @@ -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=" ];