diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-03-11 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-03-11 04:20:00 +0000 |
commit | 7008b7e0154709542f941347182df86fb3e12b35 (patch) | |
tree | c7690b9a48a45f1211f6736db80910f1f8e8cb20 /pkgs/tools/security/rbw | |
parent | e64175679911c2366e495af54607c16540080d3e (diff) |
rbw: remove pinentry substitution
Since rbw≥1.1.0 pinentry is configured trough `rbw config`.
Diffstat (limited to 'pkgs/tools/security/rbw')
-rw-r--r-- | pkgs/tools/security/rbw/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/tools/security/rbw/default.nix b/pkgs/tools/security/rbw/default.nix index 9f19a34c162ce..c1f99719d76c5 100644 --- a/pkgs/tools/security/rbw/default.nix +++ b/pkgs/tools/security/rbw/default.nix @@ -2,7 +2,6 @@ , stdenv , rustPlatform , fetchCrate -, pinentry , openssl , pkg-config , makeWrapper @@ -40,10 +39,7 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; - postPatch = '' - substituteInPlace src/pinentry.rs \ - --replace 'Command::new("pinentry")' 'Command::new("${pinentry}/${pinentry.binaryPath or "bin/pinentry"}")' - '' + lib.optionalString withFzf '' + postPatch = lib.optionalString withFzf '' patchShebangs bin/rbw-fzf substituteInPlace bin/rbw-fzf \ --replace fzf ${fzf}/bin/fzf \ |