mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
libagent: hardcode the path to gpgconf
This commit is contained in:
parent
8d38e23966
commit
a6e3530872
@ -5,6 +5,7 @@
|
||||
, cryptography
|
||||
, ed25519
|
||||
, ecdsa
|
||||
, gnupg
|
||||
, semver
|
||||
, mnemonic
|
||||
, unidecode
|
||||
@ -30,6 +31,12 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-RISAy0efdatr9u4CWNRGnlffkC8ksw1NyRpJWKwqz+s=";
|
||||
};
|
||||
|
||||
# hardcode the path to gpgconf in the libagent library
|
||||
postPatch = ''
|
||||
substituteInPlace libagent/gpg/keyring.py \
|
||||
--replace "util.which('gpgconf')" "'${gnupg}/bin/gpgconf'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
unidecode
|
||||
backports-shutil-which
|
||||
|
Loading…
Reference in New Issue
Block a user