kpcli: fix wrong program name in prompt (#50845)

This commit is contained in:
Pierre Bourdon 2018-11-20 18:46:19 +01:00
parent 64da5fcfac
commit 2f11166f43

View File

@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
phases = [ "installPhase" "fixupPhase" ]; phases = [ "installPhase" "fixupPhase" ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/{bin,share}
cp ${src} $out/bin/kpcli cp ${src} $out/share/kpcli.pl
chmod +x $out/bin/kpcli 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 ([ "${with perlPackages; stdenv.lib.makePerlPath ([
CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser
] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}" ] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"