Hi,

On 08/10/15 15:07, Bjørn Forsman wrote:

> Right :-)
> 
> But don't forget that NIX_REMOTE isn't part of
> config.environment.sessionVariables. 

Good point. Also I forgot that you need

  path = [ pkgs.nix ];

It's easier to do

  script = "source /etc/profile; nix-shell -p ..."

but that has the risk of pulling in stuff that you don't want.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to