Skip to content

Conversation

9999years
Copy link
Contributor

nix upgrade-nix can be used on any platform except NixOS where nix is available.

Also use nix profile upgrade --verbose because the non-verbose mode doesn't print anything on stdout.

Also add --extra-experimental-features nix-command to nix invocations so that they don't error.

Standards checklist:

  • The PR title is descriptive.
  • I have read CONTRIBUTING.md
  • The code compiles (cargo build)
  • The code passes rustfmt (cargo fmt)
  • The code passes clippy (cargo clippy)
  • The code passes tests (cargo test)
  • Optional: I have tested the code myself

`nix upgrade-nix` can be used on any platform except NixOS where `nix`
is available.

Also use `nix profile upgrade --verbose` because the non-verbose mode
doesn't print anything on stdout.
@9999years 9999years requested a review from s34m September 16, 2023 02:01
@9999years 9999years changed the title Fix "Nix" step Fix "Nix" step to use nix upgrade-nix in more situations Sep 16, 2023
@SteveLauC
Copy link
Member

LGTM, thanks! :)

@SteveLauC SteveLauC merged commit 4dd1c13 into topgrade-rs:master Sep 17, 2023
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.

2 participants