Skip to content

treewide: remove rec when using finalAttrs#414239

Merged
alyssais merged 1 commit intoNixOS:masterfrom
phanirithvij:finalattrs-norec
Jun 6, 2025
Merged

treewide: remove rec when using finalAttrs#414239
alyssais merged 1 commit intoNixOS:masterfrom
phanirithvij:finalattrs-norec

Conversation

@phanirithvij
Copy link
Member

some derviations are still using rec along with finalAttrs

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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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.

@github-actions github-actions bot added 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 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 Jun 5, 2025
@phanirithvij phanirithvij marked this pull request as ready for review June 5, 2025 14:14
Copy link
Member

@alyssais alyssais left a comment

Choose a reason for hiding this comment

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

For pname, it might be better to apply #277994.

@phanirithvij
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 414239
Commit: c6d356926ff3401060bb11a3fdddad520a392033

Copy link
Member

Choose a reason for hiding this comment

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

Unrelated changes like this, your maintainers changes, or removing unused inputs should go into different commits or different PRs — it's hard enough to review a treewide when it's limited to changing one thing.

Copy link
Member

Choose a reason for hiding this comment

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

Leaving meta.mainProgram used would be fine — it's different to pname.

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
@alyssais alyssais merged commit d75957a into NixOS:master Jun 6, 2025
15 of 18 checks passed
@phanirithvij phanirithvij deleted the finalattrs-norec branch June 6, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 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.

2 participants