summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorMichael Alyn Miller <malyn@strangeGizmo.com>2015-01-27 20:44:09 -0800
committerMichael Alyn Miller <malyn@strangeGizmo.com>2015-01-27 20:49:09 -0800
commit264da9e50923b6ceede0185b18257229adb179fd (patch)
tree86758fab725f67556eee48dec853b90b140b81eb /pkgs/applications/window-managers
parente772707042c8dac472777178a60dd0bfe79af902 (diff)
downloadnixpkgs-264da9e50923b6ceede0185b18257229adb179fd.tar
nixpkgs-264da9e50923b6ceede0185b18257229adb179fd.tar.gz
nixpkgs-264da9e50923b6ceede0185b18257229adb179fd.tar.bz2
nixpkgs-264da9e50923b6ceede0185b18257229adb179fd.tar.lz
nixpkgs-264da9e50923b6ceede0185b18257229adb179fd.tar.xz
nixpkgs-264da9e50923b6ceede0185b18257229adb179fd.tar.zst
nixpkgs-264da9e50923b6ceede0185b18257229adb179fd.zip
i3lock: Make sure that man pages get installed
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/i3/lock.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/applications/window-managers/i3/lock.nix b/pkgs/applications/window-managers/i3/lock.nix
index 5af4519af03..d61e71b0cbf 100644
--- a/pkgs/applications/window-managers/i3/lock.nix
+++ b/pkgs/applications/window-managers/i3/lock.nix
@@ -14,13 +14,17 @@ stdenv.mkDerivation rec {
 
   makeFlags = "all";
   installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc";
+  postInstall = ''
+    mkdir -p $out/man/man1
+    cp *.1 $out/man/man1
+  '';
 
-  meta = {
-    description = "i3 is a tiling window manager";
-    homepage = http://i3wm.org;
-    maintainers = [ stdenv.lib.maintainers.garbas ];
-    license = stdenv.lib.licenses.bsd3;
-    platforms = stdenv.lib.platforms.all;
+  meta = with stdenv.lib; {
+    description = "i3lock is a simple screen locker like slock";
+    homepage = http://i3wm.org/i3lock/;
+    maintainers = with maintainers; [ garbas malyn ];
+    license = licenses.bsd3;
+    platforms = platforms.all;
   };
 
 }