[Nix-dev] [Nix-commits] SVN commit: nix - r32999 - nixos/trunk/modules/system/boot

Lluís Batlle i Rossell viric at viric.name
Sun Mar 11 23:31:23 CET 2012


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 at . We can have two bash
references in it, if you want.


More information about the nix-dev mailing list