Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty /nix directory in multi-user installer #3054

Merged
merged 1 commit into from Aug 28, 2019

Conversation

matthewbauer
Copy link
Member

With macOS catalina, we can no longer modify the root system
volume (#2925). macOS provides a system configuration file in
synthetic.conf(5) to create empty root directories. This can be used
to mount /nix to a separate volume. As a result, this directory will
need to already exist prior to installation. Instead, check for
/nix/store and /nix/var for a live Nix installation.

With macOS catalina, we can no longer modify the root system
volume (NixOS#2925). macOS provides a system configuration file in
synthetic.conf(5) to create empty root directories. This can be used
to mount /nix to a separate volume. As a result, this directory will
need to already exist prior to installation. Instead, check for
/nix/store and /nix/var for a live Nix installation.
@grahamc grahamc added this to the Nix 2.3 milestone Aug 27, 2019
@edolstra edolstra merged commit bd28584 into NixOS:master Aug 28, 2019
BanzaiMan pushed a commit to travis-ci/travis-build that referenced this pull request Jun 23, 2020
* nix: default to latest nix

This gets nix from the `latest` [symlink](https://nixos.org/releases/nix/latest/) by default, so this file doesn't need to be kept in sync with nix releases.

* nix: multi-user install on Linux

* Invoke nix-install with --daemon option

Co-authored-by: Travis A. Everett <travis.a.everett@gmail.com>

* nix: default to 2.3.6

* nix: fix install url

* write config to /tmp/nix.conf

The linux build is objecting because /etc/nix/ already exists.

* stop creating /nix for 2.2.x installers

Prior to NixOS/nix#3054, the daemon installer 
required /nix to be empty. This no longer creates them. 

I *think* they are vestigial now that this uses a daemon install. But,
I can't swear I *know* they're obsolete. :)

Co-authored-by: Travis A. Everett <travis.a.everett@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants