Skip to content

switch-to-configuration-ng followup - #317623

Merged
SuperSandro2000 merged 4 commits into
NixOS:masterfrom
jmbaur:stc-ng-followup
Jul 18, 2024
Merged

SuperSandro2000 merged 4 commits into
NixOS:masterfrom
jmbaur:stc-ng-followup

Conversation

@jmbaur

@jmbaur jmbaur commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

Description of changes

Some followup to stc-ng to allow people to stumble across this and understand how to interact with it and what to do when making future changes. Also make the perlless profile use it by default.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@jmbaur
jmbaur requested a review from dasJ as a code owner June 6, 2024 03:26
@github-actions github-actions Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Jun 6, 2024
@jmbaur
jmbaur requested a review from nikstur June 6, 2024 03:31
@jmbaur

jmbaur commented Jun 6, 2024

Copy link
Copy Markdown
Contributor Author

@ofborg test activation-perlless

@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jun 6, 2024
@jmbaur
jmbaur force-pushed the stc-ng-followup branch from e640202 to c5279d1 Compare June 6, 2024 05:53
@jmbaur

jmbaur commented Jun 6, 2024

Copy link
Copy Markdown
Contributor Author

@ofborg test activation-perlless

@jmbaur

jmbaur commented Jun 6, 2024

Copy link
Copy Markdown
Contributor Author

Hm..the new stc implementation shouldn't depend on perl, still some work to do there! Moving to draft

@jmbaur
jmbaur marked this pull request as draft June 6, 2024 06:17
jmbaur added 3 commits June 21, 2024 23:22
The switch-to-configuration-ng program provides a perl-free way of
switching nixos systems, we can use it for the perlless profile.
Add a README so nixpkgs folks can have a cursory understanding of what
this program is here for.
Any future behavioral modifications to switch-to-configuration should
also be made to switch-to-configuration-ng. Leave a note at the top of
the script to ensure people don't forget.
@jmbaur
jmbaur force-pushed the stc-ng-followup branch from c5279d1 to 0144b6a Compare June 22, 2024 06:23
The install-grub script is perl, so the perlless profile should disable
it by default.
@jmbaur
jmbaur marked this pull request as ready for review June 22, 2024 06:29
@jmbaur

jmbaur commented Jun 22, 2024

Copy link
Copy Markdown
Contributor Author

Ah so it was not switch-to-configuration-ng, it was the install-grub.pl script being pulled in! @nikstur PTAL

@SuperSandro2000
SuperSandro2000 merged commit fa5abfe into NixOS:master Jul 18, 2024
@jmbaur
jmbaur deleted the stc-ng-followup branch July 18, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants