aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix
index b2bbb161f289..376b66181669 100644
--- a/infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix
@@ -6,7 +6,7 @@
let
python = python3Packages.python;
- version = "1.10.1";
+ version = "1.11";
in
stdenv.mkDerivation {
pname = "autorandr";
@@ -21,6 +21,8 @@ in
--replace '["xrandr"]' '["${xrandr}/bin/xrandr"]'
'';
+ outputs = [ "out" "man" ];
+
installPhase = ''
runHook preInstall
make install TARGETS='autorandr' PREFIX=$out
@@ -29,6 +31,8 @@ in
make install TARGETS='autostart_config' PREFIX=$out DESTDIR=$out
+ make install TARGETS='manpage' PREFIX=$man
+
${if systemd != null then ''
make install TARGETS='systemd udev' PREFIX=$out DESTDIR=$out \
SYSTEMD_UNIT_DIR=/lib/systemd/system \
@@ -49,7 +53,7 @@ in
owner = "phillipberndt";
repo = "autorandr";
rev = version;
- sha256 = "0msw9b1hdy3gbq9w5d04mfizhyirz1c648x84mlcbzl8salm7vpg";
+ sha256 = "0rmnqk2bi6bbd2if1rll37mlzlqxzmnazfffdhcpzskxwyaj4yn5";
};
meta = with stdenv.lib; {