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

[backport 24.11] treewide: remove deprecations up until 24.11 #358798

Merged

Conversation

wolfgangwalther
Copy link
Contributor

Backport of #356732

I left out the conflicting commit 51da8b6. The conflict was because the redirects.json file doesn't exist in 24.11, yet. Thus I decided not to backport the removal of writeReferencesToFile, because that would leave us in the odd situation, that the hash for #writeReferencesToFile would lead nowhere for the 24.11 manual, but then be redirected properly for the 25.05 version again.

@emilazy

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Following through on message itself.

(cherry picked from commit 73df63f)
Follow through on NixOS#296384.

(cherry picked from commit de69ff5)
This was planned for 21.11, so let's follow through.

(cherry picked from commit 749a6fe)
Those were scheduled to be removed in 24.11, so let's do that.

Added in NixOS#311893.

(cherry picked from commit 9966353)
Scheduled for 24.11.

(cherry picked from commit 8bdfc5e)
This is also true in 24.11 and up, so no need to state the version
number explicitly.

(cherry picked from commit e1e2193)
Scheduled for 24.11.

Added in NixOS#272147.

(cherry picked from commit 4255d7a)
This had been scheduled for removal in 23.11.

(cherry picked from commit 6646eeb)
Those were scheduled for removal in 24.11.

(cherry picked from commit 89981f1)
Scheduled for removal for 24.11.

(cherry picked from commit 352f462)
This was scheduled for 24.11.

(cherry picked from commit 97c3fa4)
This was scheduled for 24.11.

(cherry picked from commit b6c3e15)
Scheduled for 24.05.

(cherry picked from commit 6c258ee)
@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/` 6.topic: module system About "NixOS" module system internals 6.topic: lib The Nixpkgs function library labels Nov 24, 2024
@emilazy
Copy link
Member

emilazy commented Nov 24, 2024

I think we ought to backport the rest of 51da8b6 since it’s in the 24.11 release notes and all. Seems harmless to leave the paragraph in the manual for now though.

Had been deprecated and scheduled for removal in 24.11.
@wolfgangwalther
Copy link
Contributor Author

I think we ought to backport the rest of 51da8b6 since it’s in the 24.11 release notes and all. Seems harmless to leave the paragraph in the manual for now though.

Ah, true. Release notes win. Pushed.

@github-actions github-actions bot added the 8.has: documentation This PR adds or changes documentation label Nov 24, 2024
Copy link
Member

@emilazy emilazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RM approved backport, so will merge pending ofborg results.

@wolfgangwalther
Copy link
Contributor Author

@emilazy ofborg done

@emilazy emilazy merged commit 146aa39 into NixOS:release-24.11 Nov 25, 2024
34 of 35 checks passed
@wolfgangwalther wolfgangwalther deleted the backport-356732-to-release-24.11 branch November 29, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: lib The Nixpkgs function library 6.topic: module system About "NixOS" module system internals 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants