Skip to content

Commit

Permalink
openssl: fix Darwin cross infinite recursion
Browse files Browse the repository at this point in the history
stdenv depends on openssl, and isGNU depends on stdenv.

Thanks-to: sternenseemann <[email protected]>
Fixes: #126829
(cherry picked from commit 502de3c)
  • Loading branch information
alyssais authored and github-actions[bot] committed Jun 14, 2021
1 parent 32d2d13 commit cc7a4e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ let

outputs = [ "bin" "dev" "out" "man" ] ++ optional withDocs "doc";
setOutputFlags = false;
separateDebugInfo = !(stdenv.hostPlatform.useLLVM or false) && stdenv.cc.isGNU;
separateDebugInfo =
!stdenv.hostPlatform.isDarwin &&
!(stdenv.hostPlatform.useLLVM or false) &&
stdenv.cc.isGNU;

nativeBuildInputs = [ perl ];
buildInputs = lib.optional withCryptodev cryptodev
Expand Down

0 comments on commit cc7a4e5

Please sign in to comment.