1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 10:49:48 +01:00

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

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