[Nix-dev] Clear all

2013-09-21 Thread Stewart Mackenzie
Hi all, I've only recently found out about nix-shell or what was nix-env --run-env. Though i've completely polluted my user space by installing everything with nix-env -i pkgs . I'd like to clear it up and start from scratch properly. How do i do that? Delete the profiles directory?

Re: [Nix-dev] Clear all

2013-09-21 Thread Bjørn Forsman
On 21 September 2013 19:18, Stewart Mackenzie setor...@gmail.com wrote: Hi all, I've only recently found out about nix-shell or what was nix-env --run-env. Though i've completely polluted my user space by installing everything with nix-env -i pkgs . I'd like to clear it up and start from

Re: [Nix-dev] Clear all

2013-09-21 Thread Mathijs Kwik
See http://nixos.org/wiki/Howto_keep_multiple_packages_up_to_date_at_once That way, you install (and upgrade) only 1 package through nix-env and keep everything in there. To clean up: nix-env -q | xargs nix-env -e Then install your my-env package. Regarding your second question: Depends on who

Re: [Nix-dev] Clear all

2013-09-21 Thread aszlig
On Sat, Sep 21, 2013 at 09:04:19PM +0200, Mathijs Kwik wrote: To clean up: nix-env -q | xargs nix-env -e a shorter way to do this is nix-env -e \* a! -- aszlig signature.asc Description: Digital signature ___ nix-dev mailing list

Re: [Nix-dev] Clear all

2013-09-21 Thread Daniel Hlynskyi
I've heard (in Nix 1.6 release features list) that * nix-env -i has a new flag --remove-all (-r) to remove all previous packages from the profile. Though, I don't know if it works with your 2013/9/21 Stewart Mackenzie setor...@gmail.com Hi all, I've only recently found out about nix-shell

Re: [Nix-dev] Clear all

2013-09-21 Thread Stewart Mackenzie
Mathijs Kwik math...@bluescreen303.nl wrote: You can go a step further and define multiple sub-profiles. For example 1 you typically use during c development. And another for haskell development, and yet another for an experimental python3 environment. Then you can jump between those

Re: [Nix-dev] LVM2 support in nixos systemd

2013-09-21 Thread James Cook
On 20 September 2013 03:05, Lluís Batlle i Rossell vi...@viric.name wrote: Hello, I noticed that systemd didn't know how to mount (by-label) my lvm raid1. I had a lvm raid1 setup before, but it was mounted at stage1 just fine, with the proper dozen of modules in initrd. The nixos