openssl: fix Darwin cross infinite recursion
stdenv depends on openssl, and isGNU depends on stdenv. Thanks-to: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Fixes: https://github.com/NixOS/nixpkgs/issues/126829 (cherry picked from commit 502de3c377ec6a20673c395062b484a1a99c21fd)
This commit is contained in:
parent
32d2d13094
commit
cc7a4e5312
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue