diff options
author | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-08-10 13:43:07 -0400 |
---|---|---|
committer | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-08-10 13:44:58 -0400 |
commit | 68b5f51d6fc4bb0474bef55e75c3ec61deaf4517 (patch) | |
tree | eb4ffd3f42bf511151484854e86c0485ba662a12 /pkgs/misc/brightnessctl/default.nix | |
parent | 6b1a04d788183f41dce46d80f4db639b3fed69b7 (diff) |
brightnessctl: also install udev rules
Fixes #44877
Diffstat (limited to 'pkgs/misc/brightnessctl/default.nix')
-rw-r--r-- | pkgs/misc/brightnessctl/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/misc/brightnessctl/default.nix b/pkgs/misc/brightnessctl/default.nix index 69fa10d74fe6..b8821d335b26 100644 --- a/pkgs/misc/brightnessctl/default.nix +++ b/pkgs/misc/brightnessctl/default.nix @@ -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 '*' ''; |