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

Complicated reups #1294

Closed
wants to merge 12 commits into from
Closed

Complicated reups #1294

wants to merge 12 commits into from

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Nov 15, 2024

Description

WIP PR for dealing with more complicated reinstall scenarios.

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

@grahamc grahamc added the upload to s3 The labeled PR is allowed to upload its artifacts to S3 for easy testing label Nov 15, 2024
… and nix.custom.conf exists

...this should not merge, obviously...

but the idea here is if we're in a reinstall scenario, and nix.custom.conf exists,
and nix.conf exists:

1. assume nix.conf is managed by determinate-nixd
2. don't even fuss about nix.custom.conf and just call it good

this does mean we're losing the configuration we're about to write, which is not ideal,
but let's see what happens and I'm sure we'll drop this patch and make a good version
when Sep is back. (foreshadowing: famous last words.)
@cole-h cole-h mentioned this pull request Nov 18, 2024
6 tasks
@cole-h cole-h closed this in #1298 Nov 18, 2024
@grahamc grahamc deleted the complicated-reups branch November 21, 2024 17:48
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
Development

Successfully merging this pull request may close these issues.

1 participant