Skip to content

fasthenry: fix build with gcc 14 - #409573

Merged
Aleksanaa merged 2 commits into
masterfrom
fasthenry
May 23, 2025
Merged

Aleksanaa merged 2 commits into
masterfrom
fasthenry

Conversation

@Sigmanificient

@Sigmanificient Sigmanificient commented May 21, 2025 •

Copy link
Copy Markdown
Member

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (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.

Add a 👍 reaction to pull requests you find important.

@Sigmanificient

Sigmanificient commented May 21, 2025 •

Copy link
Copy Markdown
Member Author

I moved $out/share/{doc,examples}/${pname}-${version} -> $out/share/{doc,examples} to have a FOD

@Sigmanificient Sigmanificient added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label May 21, 2025
@Sigmanificient Sigmanificient mentioned this pull request May 21, 2025
27 of 28 tasks
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 21, 2025
@Sigmanificient Sigmanificient changed the title Fasthenry: fix build with gcc 14 fasthenry: fix build with gcc 14 May 21, 2025
Comment thread pkgs/by-name/fa/fasthenry/package.nix Outdated
Comment on lines 39 to 42

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it's preferred to have an extra layer in share/doc/ so that there are no file collisions in case the share directories were to be merged together with other packages.
In this case, I think share/doc/fasthenry/ would be fine.

I guess share/examples/ has an even higher chance of collision than docs...

Though, I don't know the exact policy about this... so, do whatever you think is better.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the extra layer in share/doc and share/examples were introduced to avoid collisions as mentioned by @TomaSajt

Comment thread pkgs/by-name/fa/fasthenry/package.nix Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
rev = "R${finalAttrs.version}";
tag = "R${finalAttrs.version}";

@fedeinthemix fedeinthemix left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Apart from the comment about the path extra layer, LGTM

@Sigmanificient
Sigmanificient force-pushed the fasthenry branch 4 times, most recently from 1f782bb to 7c9fa5c Compare May 22, 2025 08:40
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label May 22, 2025
@Aleksanaa
Aleksanaa merged commit b760a4d into master May 23, 2025
@nixpkgs-ci

nixpkgs-ci Bot commented May 23, 2025

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-25.05:

@nixpkgs-ci nixpkgs-ci Bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 23, 2025
@jopejoe1
jopejoe1 deleted the fasthenry branch May 31, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants