On Mon, Apr 27, 2015, at 03:56 PM, Ramakrishnan Muthukrishnan wrote:
> Hi,
> 
> Sorry for the badly worded subject line. 
> 
> NixOS newbie here. Playing with NixOS on a VirtualBox installation and
> really really liking it so far.
> 
> I am using nix-shell and the quick start example in the manual (step #6
> listed here: <https://nixos.org/nix/manual/>) does not seem to work for
> me:
> 
> [ram@nixos:~] nix-shell -p hello
> these paths will be fetched (0.04 MiB ...
> 
> *** Downloading ....
> 
> [ram@nixos:~]$ hello
> The program `hello' is currently not installed ...
> ...
> [ram@nixos:~]$ exit
> 
> [ram@nixos:~]$
> 
> Note that the prompt string didn't change when we entered the nix-shell. 
> 
> If I do:
> 
> [ram@nixos:~]$ nix-shell -p hello --pure
> 
> [nix-shell:~]$ hello
> Hello, world!
> 
> [nix-shell:~]$
> 
> I wonder why without "--pure" it didn't get into the shell. Would
> appreciate any help.

The nix-env version is:

[ram@nixos:~]$ nix-env --version
nix-env (Nix) 1.9pre4088_1711679


-- 
  Ramakrishnan
  "Err and err and err again, but less and less and less" ⟶ Piet Hein
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to