]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
guix: add missing patch
authortobtoht <tob@featherwallet.org>
Fri, 20 Dec 2024 22:24:32 +0000 (23:24 +0100)
committertobtoht <tob@featherwallet.org>
Fri, 20 Dec 2024 22:24:32 +0000 (23:24 +0100)
contrib/guix/patches/oscrypto-hard-code-openssl.patch [new file with mode: 0644]

diff --git a/contrib/guix/patches/oscrypto-hard-code-openssl.patch b/contrib/guix/patches/oscrypto-hard-code-openssl.patch
new file mode 100644 (file)
index 0000000..32027f2
--- /dev/null
@@ -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)