mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
kwalletcli: fix kwalletcli_getpin command (#188818)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
39bce34f6e
commit
e5b52ee3e2
@ -22,6 +22,9 @@ mkDerivation rec {
|
||||
|
||||
substituteInPlace pinentry-kwallet \
|
||||
--replace '/usr/bin/env mksh' ${mksh}/bin/mksh
|
||||
|
||||
substituteInPlace kwalletcli_getpin \
|
||||
--replace '/usr/bin/env mksh' ${mksh}/bin/mksh
|
||||
'';
|
||||
|
||||
makeFlags = [ "KDE_VER=5" ];
|
||||
@ -35,9 +38,11 @@ mkDerivation rec {
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pinentry-kwallet \
|
||||
--prefix PATH : $out/bin:${lib.makeBinPath [ pinentry-qt ]} \
|
||||
--set-default PINENTRY pinentry-qt
|
||||
for program in pinentry-kwallet kwalletcli_getpin; do
|
||||
wrapProgram $out/bin/$program \
|
||||
--prefix PATH : $out/bin:${lib.makeBinPath [ pinentry-qt ]} \
|
||||
--set-default PINENTRY pinentry-qt
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user