forked from mirrors/nixpkgs
acpilight: fix build error
udevadm should not run as part of make install
This commit is contained in:
parent
987ec8aed4
commit
3f79ede5c0
|
@ -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=" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue