From 2c8407089b399e0796678d440289eee829298f42 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Mon, 12 Dec 2022 16:03:53 +0100 Subject: [PATCH] sgx-sdk: pin to openssl_1_1 Currently, the sgx-sdk.runTestsHW attribute fails to build due to linking errors. It looks like OpenSSL versions are mixed up. And indeed sgx-sdk pulls in OpenSSL 3 while ipp-crypto pulls in OpenSSL 1.1. Fix by pinning the OpenSSL version for the SGX SDK to OpenSSL 1.1 as well. --- pkgs/os-specific/linux/sgx/sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/sgx/sdk/default.nix b/pkgs/os-specific/linux/sgx/sdk/default.nix index 977139406fe..5213dc1e4fd 100644 --- a/pkgs/os-specific/linux/sgx/sdk/default.nix +++ b/pkgs/os-specific/linux/sgx/sdk/default.nix @@ -16,7 +16,7 @@ , nasm , ocaml , ocamlPackages -, openssl +, openssl_1_1 , perl , python3 , texinfo @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { buildInputs = [ libtool - openssl + openssl_1_1 ]; BINUTILS_DIR = "${binutils}/bin";