Merge pull request #50850 from delroth/kpcli-prompt

kpcli: fix wrong program name in prompt (#50845)
This commit is contained in:
Renaud 2018-11-21 10:27:43 +01:00 committed by GitHub
commit e79a0b4052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)}"