[Nix-dev] cinnamon desktop problem

Bjørn Forsman bjorn.forsman at gmail.com
Sun Apr 6 10:14:33 CEST 2014


On 6 April 2014 09:53, Roelof Wobben <r.wobben at home.nl> wrote:
> Hello,
>
> I get a message that cinnamon-desktop cannot be build.
>
> This is the error I see from the hydra build:
>
> Error opening directory
> '/nix/store/f2j3nn3lz0m4vrpicqlvcvvc38nqq03m-cinnamon-desktop-2.0.4/share/glib-2.0/schemas/'/...-cinnamon-desktop-2.0.4/share/glib-2.0/schemas/':
> No such file or directory
>
>
> Im sure it comes from this part:
>
>
> postInstall = ''
>     ${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/
>   '';
>
> Can anyone help me figure out why it fails suddenly where the builds were
> successfull the last few months.
>
> I need those schemas otherwise cinnamon will not run.

I don't know what happened, but FYI, just yesterday there was a change
regarding glib schemas:

https://github.com/NixOS/nixpkgs/commit/85b1ede2bfa8c8e7cf946a7372d3b05f15e7735a

commit 85b1ede2bfa8c8e7cf946a7372d3b05f15e7735a
Author:     Vladimír Čunát <vcunat at gmail.com>
AuthorDate: Sat Apr 5 12:53:28 2014 +0200
Commit:     Vladimír Čunát <vcunat at gmail.com>
CommitDate: Sat Apr 5 13:01:51 2014 +0200

    glib gschemas hook: fixup #1901

    - move frome $out to $out/share
    - fix quoting that prevented globbing
    - indent by spaces (as it is more common in nixpkgs; 4 spaces for shell)

    More work is still needed for some individual packages.

In the meantime, if you want to debug, I'd try adding commands like
"find $out" into the builder to see if the schemas are anywhere to be
found. Or add "set -x" in one of the pre- phases to get a full trace
of commands.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list