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

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Mon Apr 28 21:24:36 CEST 2014


On 04/28/2014 12:55 PM, Kirill Elagin wrote:
> On Mon, Apr 28, 2014 at 1:38 PM, Mateusz Kowalczyk
> <fuuzetsu at fuuzetsu.co.uk>wrote:
> 
>> 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 documented in `man nix-env`, in the `--QUERY`
> section, right in the description of `--status`.
> 

You're correct. I struggled to find it before, thanks for pointing me in
the right direction.

For reference, here's the relevant snippet:

$ nix-env -qas '*' (show status of available derivations)
-P- firefox-1.0.7   (not installed but present)
--S GConf-2.4.0.1   (not present, but there is a substitute for fast
installation)
--S MPlayer-1.0pre3 (i.e., this is not the installed MPlayer, even
though the version is the same!)
IP- ORBit2-2.8.3    (installed and by definition present)


-- 
Mateusz K.


More information about the nix-dev mailing list