[Nix-dev] gcc has stopped working on Mac OS X Mavericks
Michael Sperber
sperber at deinprogramm.de
Fri Oct 24 16:15:38 CEST 2014
"John Wiegley" <johnw at newartisans.com> writes:
>>>>>> Michael Sperber <sperber at 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
More information about the nix-dev
mailing list