lol

Merge pull request #219211 from kalbasit/libagent-fix-gpgconf-path

authored by

Wael Nasreddine and committed by
GitHub
0749042b d2110a32

+8
+8
pkgs/development/python-modules/libagent/default.nix
··· 5 5 , cryptography 6 6 , ed25519 7 7 , ecdsa 8 + , gnupg 8 9 , semver 9 10 , mnemonic 10 11 , unidecode ··· 29 30 rev = "v${version}"; 30 31 sha256 = "sha256-RISAy0efdatr9u4CWNRGnlffkC8ksw1NyRpJWKwqz+s="; 31 32 }; 33 + 34 + # hardcode the path to gpgconf in the libagent library 35 + postPatch = '' 36 + substituteInPlace libagent/gpg/keyring.py \ 37 + --replace "util.which('gpgconf')" "'${gnupg}/bin/gpgconf'" \ 38 + --replace "'gpg-connect-agent'" "'${gnupg}/bin/gpg-connect-agent'" 39 + ''; 32 40 33 41 propagatedBuildInputs = [ 34 42 unidecode