Hello, When I try to port Dcon to Nixos I see this error :
checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for valac... /nix/store/90ig8w0fmm39pk5n5154h1rva02h8nsq-vala-0.19.0/bin/valac checking whether /nix/store/90ig8w0fmm39pk5n5154h1rva02h8nsq-vala-0.19.0/bin/valac is at least version 0.17.0... yes checking for ranlib... ranlib checking for xsltproc... /nix/store/az650mkm365nrjawxpycq71xj3f1yzqy-libxslt-1.1.27/bin/xsltproc checking for glib-compile-resources... no checking for pkg-config... no ./configure: line 4375: --variable: command not found configure: error: glib-compile-schemas not found. builder for `/nix/store/m7y21fxm446zk0gfkdrnl64bjbbzsnhk-dconf-0.18.0.drv' failed with exit code 1 error: build of `/nix/store/m7y21fxm446zk0gfkdrnl64bjbbzsnhk-dconf-0.18.0.drv' failed I have this derivation : { stdenv, fetchurl, makeWrapper, cinnamon-desktop, glib, libxslt, vala}: let version = "0.18.0"; in stdenv.mkDerivation rec { name = "dconf-${version}"; src = fetchurl { url = "http://download.gnome.org/sources/dconf/0.18/${name}.tar.xz"; sha256 = "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955"; }; buildInputs = [ makeWrapper libxslt vala ]; preBuild = "patchShebangs ./scripts"; postInstall = '' ${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/ rm $out/share/icons/hicolor/icon-theme.cache for f in "$out"/bin/*; do wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share:${cinnamon-desktop}/share" done ''; meta = { homepage = "http://live.gnome.org/dconf"; description = "A low level configuration system" ; platforms = stdenv.lib.platforms.linux; maintainers = [ stdenv.lib.maintainers.roelof ]; }; } Roelof
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev