mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
libagent: hardcode the path gpg-connect-agent
(cherry picked from commit 9d083587ee)
This commit is contained in:
committed by
github-actions[bot]
parent
0eeeac4ed0
commit
2b2d58bfae
@@ -34,7 +34,8 @@ buildPythonPackage rec {
|
||||
# hardcode the path to gpgconf in the libagent library
|
||||
postPatch = ''
|
||||
substituteInPlace libagent/gpg/keyring.py \
|
||||
--replace "util.which('gpgconf')" "'${gnupg}/bin/gpgconf'"
|
||||
--replace "util.which('gpgconf')" "'${gnupg}/bin/gpgconf'" \
|
||||
--replace "'gpg-connect-agent'" "'${gnupg}/bin/gpg-connect-agent'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user