>> >Anyone a clue how to solve this ? >> >> GIO is a part of glib. >> >> Its include path matches ${glib}/include/gio-* >> >> I usually just expand this mask in preConfigure and add >> -I$gio_include_dir to NIX_CFLAGS_COMPILE variable. Do you use the export Nix_FLAGS_COMPILE or just NIX_FLAGS_FLAGS_COMPILE.In a few derivations I see NIX_FLAGS_COMPILE without the preconfigure
If you set it in the nix-expression directly, this value will be set in the environment before the builder starts and so the builder will gradually add to it. If you want to run some shell code to discover specific values, it will be run in the middle of the builder, so it is better to append to NIX_CFLAGS_COMPILE. preConfigure = '' gio_include_dir="${glib}/include"/gio-*/ export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$gio_include_dir" ''; _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev