kpcli: Fix darwin build

adding MacPasteboard to perl path to support using clipboard on darwin
This commit is contained in:
Alain Lehmann 2018-01-15 20:24:35 +01:00
parent 9e2e219608
commit f198189177

View File

@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
chmod +x $out/bin/kpcli
wrapProgram $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
]}"
] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"
'';