diff options
author | Carl Dong <contact@carldong.me> | 2021-02-04 19:09:02 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-05-13 15:41:56 -0400 |
commit | bac2690e6f683fcedb883fe1d32f3c33c628a141 (patch) | |
tree | d1eeb65c542d548a6a2cb8594b9065783cab42b8 /contrib/guix/patches | |
parent | 0a2176d47767972e4cd5ed302c1dbeedece1708b (diff) | |
download | bitcoin-bac2690e6f683fcedb883fe1d32f3c33c628a141.tar.xz |
guix: Package codesigning tools
Diffstat (limited to 'contrib/guix/patches')
-rw-r--r-- | contrib/guix/patches/oscrypto-hard-code-openssl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/guix/patches/oscrypto-hard-code-openssl.patch b/contrib/guix/patches/oscrypto-hard-code-openssl.patch new file mode 100644 index 0000000000..32027f2d09 --- /dev/null +++ b/contrib/guix/patches/oscrypto-hard-code-openssl.patch @@ -0,0 +1,13 @@ +diff --git a/oscrypto/__init__.py b/oscrypto/__init__.py +index eb27313..371ab24 100644 +--- a/oscrypto/__init__.py ++++ b/oscrypto/__init__.py +@@ -302,3 +302,8 @@ def load_order(): + 'oscrypto._win.tls', + 'oscrypto.tls', + ] ++ ++ ++paths = '@GUIX_OSCRYPTO_USE_OPENSSL@'.split(',') ++assert len(paths) == 2, 'Value for OSCRYPTO_USE_OPENSSL env var must be two paths separated by a comma' ++use_openssl(*paths) |