From 9ad0024d4d292c628d4c9a50c2347f23418d7000 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 29 Jun 2021 20:27:19 -0500 Subject: [PATCH] rbw: use pientry.binaryPath when available (#2153) `pinentry_mac` does not use bin/pientry as path to its binary, instead it sets `binaryPath` pointing to the binary. --- modules/programs/rbw.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/rbw.nix b/modules/programs/rbw.nix index ecf515e5..8c074aea 100644 --- a/modules/programs/rbw.nix +++ b/modules/programs/rbw.nix @@ -60,7 +60,7 @@ let if builtins.isString val then "${pkgs.pinentry.${val}}/bin/pinentry" else - "${val}/bin/pinentry"; + "${val}/${val.binaryPath or "bin/pinentry"}"; }; }; };