[Nix-dev] libgsystem/gsystem-file-utils.c:28:34: fatal error: gio/gunixinputstream.h: No such file or directory

Roelof Wobben rwobben at hotmail.com
Sun Dec 1 11:36:00 CET 2013


I have this derivation : 

{ stdenv, fetchurl, pkgconfig, autoreconfHook, gobjectIntrospection, intltool, gettext, glib, gnome_common,
libX11, libXrandr, libXext, gtk3, gdk_pixbuf, xkeyboard_config, libxkbfile }:

stdenv.mkDerivation rec {
  name = "cjs";
  version="2.0.4";

  src = fetchurl {
    url = "http://github.com/linuxmint/cinnamon-desktop/archive/${version}.tar.gz";
    sha256 = "1cywin712558pv58c0cr73m25hfcv5x8pv5frvqjr9gwr2gpi6h3";
  };

  buildInputs = [
    pkgconfig autoreconfHook 
    gobjectIntrospection intltool gettext glib
    gnome_common libX11 libXrandr libXext gtk3
    gdk_pixbuf xkeyboard_config libxkbfile
  ];

  preBuild = "patchShebangs ./scripts";

  meta = {
    homepage = "http://cinnamon.linuxmint.com";
    description = "cinnamon-desktop contains the libcinnamon-desktop library, the cinnamon-about
     program as well as some desktop-wide documents." ;

    longDescription = ''
       cinnamon-desktop contains the libcinnamon-desktop library, the cinnamon-about
       program as well as some desktop-wide documents.

       The libcinnamon-desktop library provides API shared by several applications
       on the desktop, but that cannot live in the platform for various
       reasons. There is no API or ABI guarantee, although we are doing our
       best to provide stability. Documentation for the API is available with
       gtk-doc.
    '';

    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.roelof ];
  };
}


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 ?

Roelof

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131201/2fdf39cb/attachment-0001.html 


More information about the nix-dev mailing list