From 9c20849da40e60ffb4e879a8482957fadfe25d52 Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Tue, 24 May 2016 12:37:04 +0200 Subject: [PATCH] i3lock-color: renaming bin/i3lock binary to bin/i3lock-color ... that it doesn't conflict with i3lock --- pkgs/applications/window-managers/i3/lock-color.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/window-managers/i3/lock-color.nix b/pkgs/applications/window-managers/i3/lock-color.nix index 09be3500fecf..483c815db01b 100644 --- a/pkgs/applications/window-managers/i3/lock-color.nix +++ b/pkgs/applications/window-managers/i3/lock-color.nix @@ -17,6 +17,9 @@ stdenv.mkDerivation rec { mkdir -p $out/share/man/man1 ''; installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc MANDIR=\${out}/share/man"; + postInstall = '' + mv $out/bin/i3lock $out/bin/i3lock-color + ''; meta = with stdenv.lib; { description = "A simple screen locker like slock"; homepage = http://i3wm.org/i3lock/;