On Wed, Oct 12, 2011 at 08:04:36PM +0200, Vladimír Čunát wrote:
> Hi.
> 
> > +if ! test -e /etc/NIXOS; then
> > +    echo "This is not a NixOS installation (/etc/NIXOS) is missing!"
> > +    exit 1
> > +fi
> 
> What is /etc/NIXOS (capitalized)? Have I missed something? I can't
> switch configurations now.

A way to distinguish whether you try to run 'nixos-rebuild' in nixos, or in
non-nixos.

If you are in nixos, run 'touch /etc/NIXOS' simply. If not, what are you
trying to do?
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to