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

Fixup various issues with the nix.conf / nix.custom.conf split #1393

Merged
merged 8 commits into from
Jan 15, 2025

Conversation

cole-h
Copy link
Member

@cole-h cole-h commented Jan 15, 2025

Description

Fixes #1389.
Fixes #1390.

Checklist
  • Formatted with cargo fmt
  • Built with nix build
  • Ran flake checks with nix flake check
  • Added or updated relevant tests (leave unchecked if not applicable)
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • Linked to related issues (leave unchecked if not applicable)
Validating with install.determinate.systems

If a maintainer has added the upload to s3 label to this PR, it will become available for installation via install.determinate.systems:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/$PR_NUMBER | sh -s -- install

@cole-h cole-h added this to the 0.34.0 milestone Jan 15, 2025
…ra-experimental-features`

Otherwise, users may accidentally override our `experimental-features`
default of `nix-command` and `flakes`. If a user truly wanted to override
this, they can manually modify the `nix.conf` / `nix.custom.conf` after
the install completes.
…nf _AND_ nix.custom.conf

Cachix relies on the presence of this setting in the system
`/etc/nix/nix.conf` so that it can provide users with a helpful error if
`cachix use`ing a cache would not actually work for them (because only
trusted users can modify the trusted caches and trusted cache signing
keys in their user-specific configuration).
@grahamc grahamc added the upload to s3 The labeled PR is allowed to upload its artifacts to S3 for easy testing label Jan 15, 2025
@cole-h cole-h force-pushed the fixup-config branch 2 times, most recently from d441824 to a0cd1e9 Compare January 15, 2025 22:14
@grahamc grahamc merged commit d7de0e4 into main Jan 15, 2025
22 checks passed
@grahamc grahamc deleted the fixup-config branch January 15, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upload to s3 The labeled PR is allowed to upload its artifacts to S3 for easy testing
Projects
None yet
3 participants