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

nss: convert NIX_CFLAGS_COMPILE to a list #208704

Closed
wants to merge 1 commit into from
Closed

nss: convert NIX_CFLAGS_COMPILE to a list #208704

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 2, 2023

Description of changes

Nss has a lot of dependers, so subtle whitespace changes can cause mass rebuilds, like I did here:

#208698 (comment)

Let's use a list instead of concatenating individual strings in order to be more robust. This will cause a lot of rebuilds, but will prevent rebuilds in the future. Sending it this cleanup to staging because of that.

Marked as draft until #208698 merges. This includes the commits from that PR in order to avoid a merge conflict.

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, 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/)
  • 23.05 Release Notes (or backporting 22.11 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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

Nss has a lot of dependers, so subtle whitespace changes can cause
mass rebuilds, like I did here:

  #208698 (comment)

Let's use a list instead of concatenating individual strings in
order to be more robust.  This will cause a lot of rebuilds, but
will prevent rebuilds in the future.  Sending it this cleanup to
staging because of that.
@ghost ghost marked this pull request as ready for review January 3, 2023 06:09
@ghost ghost requested review from ajs124, lukegb and mweinelt as code owners January 3, 2023 06:09
@ajs124
Copy link
Member

ajs124 commented Jan 3, 2023

LGTM. We could wait until the next nss (esr) release with this, which will trigger most of these same rebuilds anyway.

@ghost ghost marked this pull request as draft January 7, 2023 03:24
@ajs124 ajs124 mentioned this pull request Jan 11, 2023
13 tasks
@ajs124
Copy link
Member

ajs124 commented Jan 11, 2023

See #210137 for said update

@ghost ghost marked this pull request as ready for review January 11, 2023 07:44
@ajs124
Copy link
Member

ajs124 commented Jan 12, 2023

This is on staging now, so IMO we can close it.

@mweinelt mweinelt closed this Jan 12, 2023
@ghost ghost deleted the pr/staging/nss/ilp32 branch January 13, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants