Skip to content

Commit

Permalink
brightnessctl: also install udev rules
Browse files Browse the repository at this point in the history
Fixes #44877
  • Loading branch information
matthewbauer committed Aug 10, 2018
1 parent 6b1a04d commit 68b5f51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/misc/brightnessctl/default.nix
Expand Up @@ -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 '*'
'';
Expand Down

0 comments on commit 68b5f51

Please sign in to comment.