diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-02-10 15:52:20 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-02-10 15:52:20 +0100 |
commit | c2038483fda492591c2c08d07cdc1d8f59aaffd9 (patch) | |
tree | 99c20b4f93c70bc36d1e7a7ddfc035ca3f066f68 /pkgs/development/libraries/openssl | |
parent | b94c1c89f69563a9fc2ceee487b9bc19e5234d6a (diff) |
glibc, openssl: unbreak cross eval (with minor caveats)
It's certainly better to have those two caveats than not evaluate.
Both seem rather niche. Unfortunately I failed to find a better way.
I started testing builds of several cross variants; all seem OK.
Diffstat (limited to 'pkgs/development/libraries/openssl')
-rw-r--r-- | pkgs/development/libraries/openssl/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 63657cfc5e6e..9986c2217f7c 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -36,7 +36,9 @@ let outputs = [ "bin" "dev" "out" "man" ] ++ optional withDocs "doc"; setOutputFlags = false; - separateDebugInfo = !(stdenv.hostPlatform.useLLVM or false) && stdenv.cc.isGNU; + separateDebugInfo = !(stdenv.hostPlatform.useLLVM or false) + && stdenv.hostPlatform == stdenv.buildPlatform # unable to fix infinite recursion on stdenv.cc + && stdenv.cc.isGNU; nativeBuildInputs = [ perl ]; buildInputs = stdenv.lib.optional withCryptodev cryptodev; |