Skip to content

nss: convert NIX_CFLAGS_COMPILE to a list#208704

Closed
ghost wants to merge 1 commit intostagingfrom
unknown repository
Closed

nss: convert NIX_CFLAGS_COMPILE to a list#208704
ghost wants to merge 1 commit intostagingfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@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.

@ghost ghost mentioned this pull request Jan 2, 2023
3 tasks
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Jan 2, 2023
@wegank wegank requested a review from SuperSandro2000 January 2, 2023 06:51
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants