Skip to content

checkpolicy: remove meta.name and add main program#385646

Merged
RossComputerGuy merged 1 commit intoNixOS:masterfrom
RossComputerGuy:fix/checkpolicy-eval
Mar 5, 2025
Merged

checkpolicy: remove meta.name and add main program#385646
RossComputerGuy merged 1 commit intoNixOS:masterfrom
RossComputerGuy:fix/checkpolicy-eval

Conversation

@RossComputerGuy
Copy link
Member

Things done

Fixes the eval in #383882, this can be reproduced via lib.getExe pkgs.checkpolicy.

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

@RossComputerGuy RossComputerGuy mentioned this pull request Feb 27, 2025
13 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: 0 This PR does not cause any packages to rebuild on Linux. labels Feb 27, 2025
Copy link
Contributor

@bengsparks bengsparks left a comment

Choose a reason for hiding this comment

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

I was able to reproduce the behavior, and can confirm that the warning disappears after applying this patch. Many thanks!

@RossComputerGuy RossComputerGuy added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 27, 2025
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

LGTM

@bengsparks bengsparks added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Mar 5, 2025
@bengsparks
Copy link
Contributor

bengsparks commented Mar 5, 2025

@GaetanLepage could this be backported? It's a package correction that doesn't change the hash, so it should be safe right?

@GaetanLepage
Copy link
Contributor

@GaetanLepage could this be backported? It's a package correction that doesn't change the hash, so it should be safe right?

Yes, it seems legible for a backport. I added the label.

@RossComputerGuy RossComputerGuy merged commit 3629a2b into NixOS:master Mar 5, 2025
30 checks passed
@RossComputerGuy RossComputerGuy deleted the fix/checkpolicy-eval branch March 5, 2025 15:43
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Mar 5, 2025

Successfully created backport PR for release-24.11:

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: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants