forked from mirrors/nixpkgs
parent
6b1a04d788
commit
68b5f51d6f
|
@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0amxhcikcgj04z81272kz35m5h5q4jx9x7v71h8yl1rv4b2lzh7z";
|
||||
};
|
||||
|
||||
makeFlags = "MODE=0755 PREFIX=/ DESTDIR=$(out)";
|
||||
makeFlags = [ "MODE=0755" "PREFIX=" "DESTDIR=$(out)" ];
|
||||
installTargets = [ "install" "install_udev_rules" ];
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace 90-brightnessctl.rules --replace /bin/ ${coreutils}/bin/
|
||||
substituteInPlace 90-brightnessctl.rules --replace %k '*'
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue