[Nix-dev] SVN commit 15740

Vladimír Čunát vcunat at gmail.com
Wed Oct 12 20:43:28 CEST 2011


2011/10/12 Lluís Batlle i Rossell <viriketo at gmail.com>:
> 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?

Thanks, I just wondered if something more important has changed. Btw,
this could IMO be recognized also by /var/run/booted-system...

Vlada


More information about the nix-dev mailing list