From 2f11166f43f69fb0a3841d302787dbb7b133fb8d Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Tue, 20 Nov 2018 18:46:19 +0100 Subject: [PATCH] kpcli: fix wrong program name in prompt (#50845) --- pkgs/tools/security/kpcli/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/kpcli/default.nix b/pkgs/tools/security/kpcli/default.nix index 2a81b85482e7..cb471d663ecb 100644 --- a/pkgs/tools/security/kpcli/default.nix +++ b/pkgs/tools/security/kpcli/default.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation rec { phases = [ "installPhase" "fixupPhase" ]; installPhase = '' - mkdir -p $out/bin - cp ${src} $out/bin/kpcli - chmod +x $out/bin/kpcli + mkdir -p $out/{bin,share} + cp ${src} $out/share/kpcli.pl + chmod +x $out/share/kpcli.pl - wrapProgram $out/bin/kpcli --set PERL5LIB \ + makeWrapper $out/share/kpcli.pl $out/bin/kpcli --set PERL5LIB \ "${with perlPackages; stdenv.lib.makePerlPath ([ CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser ] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"