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.
This commit is contained in:
Mario Rodas 2021-06-29 20:27:19 -05:00 committed by GitHub
parent 3f6cb409ca
commit 9ad0024d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"}";
};
};
};