Merge pull request #63670 from arcnmx/acpilight-build-fix
acpilight: fix build error
This commit is contained in:
commit
3726505510
@ -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=" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user