Skip to content

nixos/rename: drop system.nixos.{stateVersion, defaultChannel}#58596

Merged
worldofpeace merged 1 commit intoNixOS:masterfrom
worldofpeace:nixos-stateversion-drop
Mar 31, 2019
Merged

nixos/rename: drop system.nixos.{stateVersion, defaultChannel}#58596
worldofpeace merged 1 commit intoNixOS:masterfrom
worldofpeace:nixos-stateversion-drop

Conversation

@worldofpeace
Copy link
Contributor

Comment said to remove these before 18.09 was released :(

Motivation for this change

I'm not sure if the comment in the file isn't valid anymore?
But I'm guessing we should remove these now.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Comment said to remove these before 18.09 was released :(
@worldofpeace worldofpeace requested a review from infinisil as a code owner March 30, 2019 22:21
@samueldr
Copy link
Member

cc @lheckemann RM for 19.09, just in case, but it's probably fine to remove.

From memory it was because for a short while between 18.03 and 18.09, unstable users could have built a system with a now reverted change for the option name. For reference, it starts with good intentions in #39447

@GrahamcOfBorg GrahamcOfBorg 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 Mar 30, 2019
@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Mar 30, 2019
@worldofpeace
Copy link
Contributor Author

From memory it was because for a short while between 18.03 and 18.09, unstable users could have built a system with a now reverted change for the option name. For reference, it starts with good intentions in #39447

Yep, I recall that. Shouldn't be a problem for us to drop this in 19.03 also.

@worldofpeace
Copy link
Contributor Author

Going for it

@worldofpeace worldofpeace merged commit 7a8d8e9 into NixOS:master Mar 31, 2019
@worldofpeace worldofpeace deleted the nixos-stateversion-drop branch March 31, 2019 00:10
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: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants