From 8efa0cf1e562cffab9a435081fd38c7dd7d3fd1f Mon Sep 17 00:00:00 2001 From: simonzkl <110235118+simonzkl@users.noreply.github.com> Date: Wed, 19 Nov 2025 19:11:37 +0100 Subject: [PATCH] Revert "openssl: help build system to detect cross builds" This reverts commit 5d006774c0de6e698ad96bdc0dd3acf779b167da. --- pkgs/development/libraries/openssl/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 7c702660d390..bb9eb51123d2 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -186,11 +186,6 @@ let "--openssldir=/.$(etc)/etc/ssl" ) ] - # Tell build system it's cross environment. This allows to skip tests - # that would fail when libc is different. Otherwise, run the tests. - ++ lib.optional ( - !lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform - ) "--cross-compile-prefix=${lib.getBin stdenv.cc}/bin/" ++ lib.optionals withCryptodev [ "-DHAVE_CRYPTODEV" "-DUSE_CRYPTODEV_DIGESTS"