Skip to content

linuxPackages.system76-acpi: fix build - #407169

Merged
vcunat merged 2 commits into
NixOS:masterfrom
eljamm:fix/system76-acpi
May 19, 2025
Merged

vcunat merged 2 commits into
NixOS:masterfrom
eljamm:fix/system76-acpi

Conversation

@eljamm

@eljamm eljamm commented May 14, 2025

Copy link
Copy Markdown
Contributor

Changes

  • Fix build with GCC 14
  • Small improvements
    • use finalAttrs
    • use tag and hash in src
    • add {pre,post} hooks to the installPhase
    • remove with lib; from meta

ZHF: #403336

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Add a 👍 reaction to pull requests you find important.

eljamm added 2 commits May 14, 2025 23:16
- use `finalAttrs`
- use `tag` and `hash` in `src`
- add {pre,post} hooks to the `installPhase`
- remove `with lib;` from `meta`
@eljamm

eljamm commented May 14, 2025 •

Copy link
Copy Markdown
Contributor Author

Tracking GCC 14 failures in #388196 #356812

@eljamm eljamm added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label May 14, 2025
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels May 14, 2025
@nix-owners
nix-owners Bot requested a review from ahoneybun May 14, 2025 22:34
@ahoneybun

Copy link
Copy Markdown
Contributor

@eljamm thanks for the work! Can you squash those commits?

@eljamm

eljamm commented May 14, 2025 •

Copy link
Copy Markdown
Contributor Author

Can you squash those commits?

I made 2 commits on purpose to set the build fix apart from the other changes since the commit conventions state that you should:

  • Create a commit for each logical unit.

Grouping the non-fix improvements in a separate commit makes sense to me, but please let me know what you think.

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

That's fine then, thanks again for the work!

@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels May 18, 2025
@vcunat
vcunat merged commit b9194dd into NixOS:master May 19, 2025
@nixpkgs-ci

nixpkgs-ci Bot commented May 19, 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 19, 2025
@nixpkgs-ci

nixpkgs-ci Bot commented May 19, 2025

Copy link
Copy Markdown
Contributor

Backport failed for release-24.11, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-24.11
git worktree add -d .worktree/backport-407169-to-release-24.11 origin/release-24.11
cd .worktree/backport-407169-to-release-24.11
git switch --create backport-407169-to-release-24.11
git cherry-pick -x 3b24475288d182cdfe708cabba0f3277ab015caa 4adde8f35b6f5c6d647aeb3bca37b0d6a9dd5652

@nixpkgs-ci

nixpkgs-ci Bot commented May 19, 2025

Copy link
Copy Markdown
Contributor

Backport failed for release-25.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-25.05
git worktree add -d .worktree/backport-407169-to-release-25.05 origin/release-25.05
cd .worktree/backport-407169-to-release-25.05
git switch --create backport-407169-to-release-25.05
git cherry-pick -x 3b24475288d182cdfe708cabba0f3277ab015caa 4adde8f35b6f5c6d647aeb3bca37b0d6a9dd5652

vcunat pushed a commit that referenced this pull request May 19, 2025
(cherry picked from commit 3b24475)
(which comes from PR #407169)
@mdaniels5757 mdaniels5757 mentioned this pull request Jun 18, 2025
27 of 28 tasks
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: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants