darwin packages: Get ready for cross

If things build fine with `stdenvNoCC`, let them use that. If tools
might be prefixed, prepare for that, either by directly splicing or just
using the env vars provided by the wrapper setup-hooks.

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
John Ericson
2021-05-11 16:07:01 -04:00
co-authored by Dmitry Kalinkin
parent 912c8262b4
commit 7bba32a069
32 changed files with 213 additions and 186 deletions
@@ -1,6 +1,6 @@
{ stdenv, fetchurl }:
{ stdenvNoCC, fetchurl }:
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "darwin-stubs";
version = "10.12";