Loading pkgs/by-name/cu/curlMinimal/package.nix +5 −4 Original line number Diff line number Diff line Loading @@ -119,7 +119,11 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; env = lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic) { env = { CXX = "${stdenv.cc.targetPrefix}c++"; CXXCPP = "${stdenv.cc.targetPrefix}c++ -E"; } // lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic) { # Not having this causes curl’s `configure` script to fail with static builds on Darwin because # some of curl’s propagated inputs need libiconv. NIX_LDFLAGS = "-liconv"; Loading Loading @@ -209,9 +213,6 @@ stdenv.mkDerivation (finalAttrs: { "--with-ca-path=/etc/ssl/certs" ]; CXX = "${stdenv.cc.targetPrefix}c++"; CXXCPP = "${stdenv.cc.targetPrefix}c++ -E"; # takes 14 minutes on a 24 core and because many other packages depend on curl # they cannot be run concurrently and are a bottleneck # tests are available in passthru.tests.withCheck Loading Loading
pkgs/by-name/cu/curlMinimal/package.nix +5 −4 Original line number Diff line number Diff line Loading @@ -119,7 +119,11 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; env = lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic) { env = { CXX = "${stdenv.cc.targetPrefix}c++"; CXXCPP = "${stdenv.cc.targetPrefix}c++ -E"; } // lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic) { # Not having this causes curl’s `configure` script to fail with static builds on Darwin because # some of curl’s propagated inputs need libiconv. NIX_LDFLAGS = "-liconv"; Loading Loading @@ -209,9 +213,6 @@ stdenv.mkDerivation (finalAttrs: { "--with-ca-path=/etc/ssl/certs" ]; CXX = "${stdenv.cc.targetPrefix}c++"; CXXCPP = "${stdenv.cc.targetPrefix}c++ -E"; # takes 14 minutes on a 24 core and because many other packages depend on curl # they cannot be run concurrently and are a bottleneck # tests are available in passthru.tests.withCheck Loading