Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread aszlig
On Mon, Apr 28, 2014 at 09:38:41AM +, Mateusz Kowalczyk wrote: Well, I managed to install the software with both 2.7 and 3.3 but I have no idea which one is active at the moment. I also don't know how to get rid of 2.7 from my -qs list which I don't care about: I only wanted to test that

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Mateusz Kowalczyk
On 04/28/2014 09:23 AM, Marc Weber wrote: Excerpts from Mateusz Kowalczyk's message of Mon Apr 28 09:38:41 + 2014: IP- python2.7-livestreamer-1.8.0 IP- python3.3-livestreamer-1.8.0 Which one is active? That's what priorities are about, those who have higher priorities will be linked

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Mateusz Kowalczyk
On 04/28/2014 09:34 AM, aszlig wrote: On Mon, Apr 28, 2014 at 09:38:41AM +, Mateusz Kowalczyk wrote: Well, I managed to install the software with both 2.7 and 3.3 but I have no idea which one is active at the moment. I also don't know how to get rid of 2.7 from my -qs list which I don't

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Kirill Elagin
On Mon, Apr 28, 2014 at 1:38 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.ukwrote: nix-env -qs shows something like IP- python3.3-livestreamer-1.8.0 Where is the ‘IP-’ bit documented? As far as I know, the last letter indicates whether the software is currently active. Unsurprisingly, it is

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Marc Weber
Excerpts from Mateusz Kowalczyk's message of Mon Apr 28 10:39:11 + 2014: On 04/28/2014 09:23 AM, Marc Weber wrote: Is there a way to ask nix to tell me which one is active? There is no active:yes/no Example: p-1.0: /bin/foo p-2.0: /bin/foo-2.0 Then you'll have both in PATH In yoru

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Wout Mertens
Hmmm - nix-build also has --run-env which makes a temporary environment but is listed in the source as obsolete. I wonder what the correct way is, nix-shell doesn't build your derivation. https://github.com/NixOS/nix/blob/2b6c8ef40121fdc418551e9b780bb909477c9a3c/scripts/nix-build.in#L196 Wout.