From 810976e5912771722ee0331d59c5451c914da44a Mon Sep 17 00:00:00 2001 From: Roland Koebler Date: Mon, 7 May 2018 23:19:02 +0200 Subject: [PATCH] i3lock-color: fix manpage-name and manpage (#40095) - rename manpage from i3lock.1 to i3lock-color.1 - change "i3lock" to "i3lock-color" in manpage-synopsis --- pkgs/applications/window-managers/i3/lock-color.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/window-managers/i3/lock-color.nix b/pkgs/applications/window-managers/i3/lock-color.nix index 66a6af2fbb08..b7545d5cd1c5 100644 --- a/pkgs/applications/window-managers/i3/lock-color.nix +++ b/pkgs/applications/window-managers/i3/lock-color.nix @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc MANDIR=\${out}/share/man"; postInstall = '' mv $out/bin/i3lock $out/bin/i3lock-color + mv $out/share/man/man1/i3lock.1 $out/share/man/man1/i3lock-color.1 + sed -i 's/\(^\|\s\|"\)i3lock\(\s\|$\)/\1i3lock-color\2/g' $out/share/man/man1/i3lock-color.1 ''; meta = with stdenv.lib; { description = "A simple screen locker like slock";