summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2022-12-12 16:03:53 +0100
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2022-12-12 17:18:28 +0100
commit2c8407089b399e0796678d440289eee829298f42 (patch)
treee9201e3f889a427eeff023e99ec8b10c50c53535
parent0f482d4d0d5e2c8d244ade8bfadf99e9c8ad9e29 (diff)
downloadnixpkgs-2c8407089b399e0796678d440289eee829298f42.tar
nixpkgs-2c8407089b399e0796678d440289eee829298f42.tar.gz
nixpkgs-2c8407089b399e0796678d440289eee829298f42.tar.bz2
nixpkgs-2c8407089b399e0796678d440289eee829298f42.tar.lz
nixpkgs-2c8407089b399e0796678d440289eee829298f42.tar.xz
nixpkgs-2c8407089b399e0796678d440289eee829298f42.tar.zst
nixpkgs-2c8407089b399e0796678d440289eee829298f42.zip
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.
-rw-r--r--pkgs/os-specific/linux/sgx/sdk/default.nix4
1 files 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";