mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #50850 from delroth/kpcli-prompt
kpcli: fix wrong program name in prompt (#50845)
This commit is contained in:
commit
e79a0b4052
1 changed files with 4 additions and 4 deletions
|
@ -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)}"
|
||||
|
|
Loading…
Reference in a new issue