about summary refs log tree commit diff
path: root/pkgs/misc/acpilight
diff options
context:
space:
mode:
authorarcnmx <arcnmx@users.noreply.github.com>2019-06-22 13:10:32 -0700
committerarcnmx <arcnmx@users.noreply.github.com>2019-06-22 13:10:32 -0700
commit3f79ede5c07cbed818a21d6b3f0e5efe09cb2264 (patch)
treee6a88a0da5e5907d618896e40d586875a3a8bd40 /pkgs/misc/acpilight
parent987ec8aed453ea944a4d53aa0ee47d8371c6844c (diff)
acpilight: fix build error
udevadm should not run as part of make install
Diffstat (limited to 'pkgs/misc/acpilight')
-rw-r--r--pkgs/misc/acpilight/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/misc/acpilight/default.nix b/pkgs/misc/acpilight/default.nix
index e36e41885008b..50f4fe87ed832 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=" ];