diff --git a/pkgs/development/python-modules/uamqp/default.nix b/pkgs/development/python-modules/uamqp/default.nix index 24d2b7b34630..2ae0d32a5679 100644 --- a/pkgs/development/python-modules/uamqp/default.nix +++ b/pkgs/development/python-modules/uamqp/default.nix @@ -40,6 +40,9 @@ buildPythonPackage rec { sed -i \ -e '/#define EVP_PKEY_id/d' \ src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/x509_openssl.c + sed -z -i \ + -e 's/OpenSSL 3\nif(LINUX)/OpenSSL 3\nif(1)/' \ + src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/CMakeLists.txt ''; nativeBuildInputs = [