"John Wiegley" <jo...@newartisans.com> writes:

>>>>>> Michael Sperber <sper...@deinprogramm.de> writes:
>
>> export SDKROOT=macosx10.9
>
>> Unfortunately, it seems --pure (and nix-env generally) then *unsets* that
>> environment variable again.  Any way I can make Nix have its stick around?
>
> I hand-edited pkgs/stdenv/nix/default.nix to have this line in it:
>
>     export MACOSX_DEPLOYMENT_TARGET=10.9
> The SDKROOT is then set from this.

That setting didn't take for me.  But your hint made me set SDKROOT in
pkgs/stdenv/nix/default.nix directly, and that did the trick.

Many thanks!

-- 
Regards,
Mike

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to