Skip to content

stdenv: fix __bootPackages when overriding#136804

Closed
r-burns wants to merge 1 commit intoNixOS:masterfrom
r-burns:stdenv-bootpackages-override
Closed

stdenv: fix __bootPackages when overriding#136804
r-burns wants to merge 1 commit intoNixOS:masterfrom
r-burns:stdenv-bootpackages-override

Conversation

@r-burns
Copy link
Contributor

@r-burns r-burns commented Sep 5, 2021

Now that we override stdenv instead of using // since f110a18, the __bootPackages and __hatPackages attrs that were added using // are discarded. This restores them so that they are still exposed in e.g. pkgsStatic.

see #134463 (comment)

Motivation for this change
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.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.

Now that we override stdenv instead of using // since
f110a18, the __bootPackages and
__hatPackages attrs that were added using // are discarded. This
restores them so that they are still exposed in e.g. pkgsStatic.
@github-actions github-actions bot added the 6.topic: stdenv Standard environment label Sep 5, 2021
@ofborg ofborg bot 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 Sep 5, 2021
@stale
Copy link

stale bot commented Apr 18, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 18, 2022
@r-burns
Copy link
Contributor Author

r-burns commented Apr 20, 2022

Was no longer able to reproduce this issue on a50861d

@r-burns r-burns closed this Apr 20, 2022
@r-burns r-burns deleted the stdenv-bootpackages-override branch April 20, 2022 22:26
@Ericson2314
Copy link
Member

oh that's convenient!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: stdenv Standard environment 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