Merge pull request #63670 from arcnmx/acpilight-build-fix

acpilight: fix build error
This commit is contained in:
Matthew Bauer 2019-06-23 21:41:51 -04:00 committed by GitHub
commit 3726505510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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