> Date: Sun, 1 Dec 2013 14:50:24 +0400 > From: [email protected] > To: [email protected]; [email protected] > Subject: [Nix-dev] libgsystem/gsystem-file-utils.c:28:34: fatal > error:gio/gunixinputstream.h: No such file or directory > > > > >And now I see this error messages: > > > >building gnome-datetime-source.lo > > CC gnome-datetime-source.lo > >building libgsystem_la-gsystem-local-alloc.lo > > CC libgsystem_la-gsystem-local-alloc.lo > >building libgsystem_la-gsystem-file-utils.lo > > CC libgsystem_la-gsystem-file-utils.lo > >libgsystem/gsystem-file-utils.c:28:34: fatal error: gio/gunixinputstream.h: > >No such file or directory > >compilation terminated. > >make[2]: *** [libgsystem_la-gsystem-file-utils.lo] Error 1 > >make[2]: Leaving directory > >`/tmp/nix-build-cjs.drv-0/cinnamon-desktop-2.0.4/libcinnamon-desktop' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory `/tmp/nix-build-cjs.drv-0/cinnamon-desktop-2.0.4' > >make: *** [all] Error 2 > >builder for `/nix/store/c55f28s39njkn2cxiclv70rggwljiyyc-cjs.drv' failed > >with exit code 2 > >error: build of `/nix/store/c55f28s39njkn2cxiclv70rggwljiyyc-cjs.drv' failed > > > > > >If I add gio as a buildinput then I see this message: > > > >error: an anonymous function at > >`/home/roelof/nixpkgs/pkgs/desktops/cinnamon/cinnamon-desktop.nix:2:1' > >called without required argument `gio' > >(use `--show-trace' to show detailed location information) > > > > > >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 Roelof
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
