[EMAIL PROTECTED] (Ludovic Courtès) writes: > $ cat ,,t.c > #include <complex.h> > > int foo () { return 0; } > > $ gcc -c ,,t.c > In file included from ,,t.c:1: > > /nix/store/aqy5z30mbgq2c65y2m3x3flbzw5bhvsj-gcc-4.3.1/include/c++/4.3.1/complex.h:34:28: > error: bits/c++config.h: No such file or directory
The following combination works: $ C_INCLUDE_PATH= NIX_CFLAGS_COMPILE="-I$HOME/.nix-profile/include" \ gcc -c ,,t.c Thanks, Ludovic. _______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev