Skip to content

Comments

busybox: set meta.mainProgram#392448

Merged
drupol merged 1 commit intoNixOS:masterfrom
concatime:set-main-program-of-busybox
Mar 23, 2025
Merged

busybox: set meta.mainProgram#392448
drupol merged 1 commit intoNixOS:masterfrom
concatime:set-main-program-of-busybox

Conversation

@concatime
Copy link
Contributor

Fix this warning:

evaluation warning: getExe: Package "busybox-1.36.1" does not have
the meta.mainProgram attribute.

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.

@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 Mar 23, 2025
Copy link
Member

@lzcunt lzcunt left a comment

Choose a reason for hiding this comment

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

Funnily enough I encountered this just today, thanks

Copy link
Contributor

@drupol drupol left a comment

Choose a reason for hiding this comment

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

Can you please don't move the attribute platforms which seems to be at the right place and only add mainProgram just before maintainers ?

Also, the commit log message and the PR title should be:

busybox: set `meta.mainProgram`

Fix this warning:
> evaluation warning: getExe: Package "busybox-1.36.1" does not have
> the meta.mainProgram attribute.
@concatime concatime force-pushed the set-main-program-of-busybox branch from 086097b to 781bed2 Compare March 23, 2025 19:14
@concatime
Copy link
Contributor Author

concatime commented Mar 23, 2025

I initially sorted the meta attributes as listed in the documentation, but I reverted my change as you asked.

@drupol drupol changed the title busybox: Set main program busybox: set meta.mainProgram Mar 23, 2025
@wegank wegank added the 12.approvals: 3+ This PR was reviewed and approved by three or more persons. label Mar 23, 2025
@drupol drupol merged commit e067934 into NixOS:master Mar 23, 2025
32 of 36 checks passed
@concatime concatime deleted the set-main-program-of-busybox branch March 23, 2025 20:30
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: 3+ This PR was reviewed and approved by three or more persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants