aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
committerMx Kookie <kookie@spacekookie.de>2020-12-09 18:55:19 +0000
commit80d90d9b204f7c17912740f9f414fe5d59f293ba (patch)
tree5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/tools/misc/autorandr/default.nix
parent3a31a84c7d3e589035ad08499206aac44a81f424 (diff)
parent83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff)
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
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; {