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

multiple-outputs.sh: Install static libraries into $static->$dev->$out #229725

Closed
wants to merge 8 commits into from

Conversation

Luabee
Copy link

@Luabee Luabee commented May 3, 2023

Description of changes

During preFixup, static libraries (lib/*.a) are now installed to the $static output if it exists, or the $dev output if that exists, or just to $out as usual.

This will make it easier to prevent static libs making it into system closures.

Related issues:
#164141
#224533

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
  • Fits CONTRIBUTING.md.

Yarny0 and others added 8 commits May 2, 2023 17:53
"First official release on github,
rather than sourceforge (as in the past)",
according to the github tag message in

https://github.com/NetworkBlockDevice/nbd/releases/tag/nbd-3.25

Note that the commit at hand also fixes the build after it
broke due to the update to GLib 2.75.3 ("Log limit exceeded") in

NixOS@8e5ee71
python310Packages.aiomisc: 17.1.4 -> 17.2.2
nbd: 3.24 -> 3.25, fix build broken by GLib update
There's no libgcc.so in a static-only build.
…theme-square

numix-icon-theme-square: 23.04.20 -> 23.04.28
During `preFixup`, static libraries (`lib/*.a`) are now installed to the `$static` output if it exists, or the `$dev` output if that exists, or just to `$out` as usual.

This will make it easier to prevent static libs making it into system closures.
@Luabee Luabee marked this pull request as ready for review May 3, 2023 18:53
@Luabee Luabee requested a review from Ericson2314 as a code owner May 3, 2023 18:53
@wegank
Copy link
Member

wegank commented May 3, 2023

This should target staging.

@wegank wegank marked this pull request as draft May 3, 2023 19:00
@Luabee
Copy link
Author

Luabee commented May 3, 2023

This should target staging.

Hi! What does that mean?

@wegank
Copy link
Member

wegank commented May 3, 2023

Hi! What does that mean?

The staging branch, I mean. This PR would surely cause mass rebuilds, it can't go directly into master.

@Luabee Luabee changed the base branch from master to staging May 3, 2023 20:00
@Luabee
Copy link
Author

Luabee commented May 3, 2023

Closed in favor of #229758

@Luabee Luabee closed this May 3, 2023
@Luabee Luabee deleted the patch-5 branch May 3, 2023 22:00
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.

7 participants