--On 26 avril 2012 01:18:02 +0200 Ludovic Courtès <[email protected]> wrote:

>>> ~/.nix-profile/bin/gcc hello.c -o hello
>> hello.c:1:19: fatal error: stdio.h: No such file or directory
>> compilation terminated.
>
> Hmm, how did you install it?

nix-env -i -f path/to/nixpkgs -A gcc46

> And did you try after r33911?  This commit sets ‘noSysDirs’ to false
> on Darwin, meaning that GCC would look for files under /usr (stdenv.gcc
> already did that.)

Ah, that's what's missing then. I used r33899. I will update and try again!

Thanks,
  Konrad.

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to