Hi,
I just finished to install NixOS on my laptop (on top of a VirtualBox machine)
and I am trying to setup a nice user environment for my daily work.

I first tried to install gnome with

  nix-env -i gnome

But this doesn't work.  After a while (and a lot of tries) I found

nix-env -f .nix-defexpr/nixpkgs_sys/pkgs/top-level/all-packages.nix -i -A gnome

which seems to work except for the fact that a collision prevent nix to
build the user environment at the end.  The precise error is at the end of
this message.

I tried with to fix this using nix-env --set-flag priority (has suggested in
the error message) in several ways but nothing seems to happen.

Is this the way it is supposed to work?

How can I get around the problem?

Not being very lucky with gnome I tried with kde:

nix-env -f .nix-defexpr/nixpkgs_sys/pkgs/top-level/all-packages.nix -i -A kde4

This time I get a md5 sum mismatch

output path `/nix/store/dar3qawhj265617yp7xqqrd0fi9qyqqa-kdenetwork-4.0.0.tar.bz2' should have md5 hash `f362bd34b589800845abfb99589d4cfc', instead has `75bdec5cb72d775f6b156ec6d1662454' cannot build derivation `/nix/store/jb3anjhs97hyagjvfbnx77liqrqikhz6-kdenetwork-4.0.0.drv': 1 inputs could not be realised error: build of `/nix/store/jb3anjhs97hyagjvfbnx77liqrqikhz6-kdenetwork-4.0.0.drv' failed

Any help is appreciated.
Thanks,
M.

nixbox:~$ nix-env -f .nix-defexpr/nixpkgs_sys/pkgs/top-level/all-packages.nix -i -A gnome
installing `GConf-2.22.0'
[... long list of `installing XXX' omitted ...]
installing `vte-0.16.13'
building path(s) `/nix/store/xmip5l0slawklh9bjv77325vk9yi4jr3-user-environment' Collission between `/nix/store/da13zy26kc85qykdbqdl1gyxgwqxlbyn-librsvg-2.22.2/etc/gtk-2.0/gdk-pixbuf.loaders' and `/nix/store/912r9cc803lpzxkvz6zw01bka2n7cyrg-gtk+-2.12.10/etc/gtk-2.0/gdk-pixbuf.loaders'. Suggested solution: use `nix-env --set-flag priority NUMBER PKGNAME' to change the priority of one of the conflicting packages. builder for `/nix/store/2iy1rhx9qv0ivgsdmrld2i094pbbkdkk-user-environment.drv' failed with exit code 255 error: build of `/nix/store/2iy1rhx9qv0ivgsdmrld2i094pbbkdkk-user-environment.drv' failed


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to