kwalletcli: fix kwalletcli_getpin command (#188818)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
39bce34f6e
commit
e5b52ee3e2
1 changed files with 8 additions and 3 deletions
|
@ -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 a new issue