On Sun, Mar 11, 2012 at 11:29:44PM +0100, Eelco Dolstra wrote:
> On 11/03/12 22:50, Lluís Batlle wrote:
> 
> >    bootStage2 = pkgs.substituteAll {
> >      src = ./stage-2-init.sh;
> > +    shell = "${pkgs.bashInteractive}/bin/bash";
> 
> The stage 2 shell should not be interactive.  The debug shell is a separate
> thing from the shell executing the stage 2 script.

I did not think it was bad to use the interactive bash to execute the init
script, and then the debug shell would simply call @shell@. We can have two bash
references in it, if you want.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to