Re: [Nix-dev] Clear all

2013-09-22 Thread stewart mackenzie
Actually I just want to make this message go away. After compiling and running oz I try run the emulator. $ ./ozemulator ./ozemulator: error while loading shared libraries: libboost_program_options.so.1.54.0: cannot open shared object file: No such file or directory Thanks kindly Stewart ___

Re: [Nix-dev] Clear all

2013-09-22 Thread stewart mackenzie
>> Should one use nix-shell to change to this environment? > > No, the "myEnvFun" environments create their own scripts for this. > If you have an environment called foo, you will have a > ~/.nix-profile/dev-envs/foo file containing most stuff that needs to be > set. I'm afraid all I have in my ~/

Re: [Nix-dev] Clear all

2013-09-21 Thread Mathijs Kwik
Stewart Mackenzie writes: > Mathijs Kwik 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 th

Re: [Nix-dev] Clear all

2013-09-21 Thread Stewart Mackenzie
Mathijs Kwik 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 environments on a per-terminal

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 > Hi all, > > I've only recently found out about nix-shell or what was nix-

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 nix-dev@lists.sc

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 Bjørn Forsman
On 21 September 2013 19:18, Stewart Mackenzie 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 . I'd like to clear it up and start from scratch properly. > >

[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 . I'd like to clear it up and start from scratch properly. How do i do that? Delete the profiles directory? Secondly, wha