Skip to content

Comments

glibc: split getent into its own output#236458

Merged
Ma27 merged 1 commit intoNixOS:stagingfrom
DeterminateSystems:glibc-getent-split
Jun 13, 2023
Merged

glibc: split getent into its own output#236458
Ma27 merged 1 commit intoNixOS:stagingfrom
DeterminateSystems:glibc-getent-split

Conversation

@lheckemann
Copy link
Member

@lheckemann lheckemann commented Jun 7, 2023

Description of changes

Many dependents only require getent and not all the locale generation tools that are included in the bin output. This can save some closure size!

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 nixos/tests/login.nix
  • 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/)
  • 23.11 Release Notes (or backporting 23.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.

@ofborg ofborg bot added the 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. label Jun 7, 2023
@ofborg ofborg bot requested review from Ma27 and edolstra June 7, 2023 16:31
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jun 7, 2023
Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

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

Code-wise LGTM.

It would be reasonable though to mention this in the release-notes before merging.

@lheckemann lheckemann force-pushed the glibc-getent-split branch from f62c1c0 to 0866d3f Compare June 9, 2023 12:11
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation labels Jun 9, 2023
@ofborg ofborg bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jun 9, 2023
Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

Seems fine after the merge conflict is addressed ;)

Many dependents only require getent and not all the locale generation
tools that are included in the `bin` output. This can save some
closure size!
@lheckemann lheckemann force-pushed the glibc-getent-split branch from 0866d3f to 4d649f2 Compare June 12, 2023 08:27
@ofborg ofborg bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jun 12, 2023
@ofborg ofborg bot requested a review from Ma27 June 12, 2023 10:20
@Ma27 Ma27 merged commit fc0b849 into NixOS:staging Jun 13, 2023
@cole-h cole-h deleted the glibc-getent-split branch June 13, 2023 13:57
vcunat added a commit that referenced this pull request Jun 26, 2023
Until PR #236458 it was doing auto-detection (!)
which chose "root" (at least sometimes):
https://hydra.nixos.org/log/wbxd753q70plgxjm3xdljky9a81692kk-cockpit-287.drv
Now it failed due to missing getent:
https://hydra.nixos.org/build/225207182/nixlog/2/tail
mccurdyc pushed a commit to mccurdyc/nixpkgs that referenced this pull request Jul 3, 2023
Until PR NixOS#236458 it was doing auto-detection (!)
which chose "root" (at least sometimes):
https://hydra.nixos.org/log/wbxd753q70plgxjm3xdljky9a81692kk-cockpit-287.drv
Now it failed due to missing getent:
https://hydra.nixos.org/build/225207182/nixlog/2/tail
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: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants