>
>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.



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

Reply via email to