[Nix-dev] SVN commit 15740

Lluís Batlle i Rossell viriketo at gmail.com
Wed Oct 12 20:06:16 CEST 2011


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?


More information about the nix-dev mailing list