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

tasks: use lib.getExe to fetch the package binary by default #1745

Merged
merged 3 commits into from
Feb 23, 2025

Conversation

sandydoo
Copy link
Member

tasks.<name>.binary is now an optional override, in case lib.getExe (i.e. meta.mainProgram) returns something that doesn't work.

This fixes an upcoming issue in nixpkgs/master where the pname for bash is changing to bash-interactive by default. Using the pname as the name of the binary will break tasks.

`tasks.<name>.binary` is now an optional override, in case
`lib.getExe` (i.e. `meta.mainProgram`) returns something that doesn't
work.
@sandydoo sandydoo added the bug Something isn't working label Feb 22, 2025
@sandydoo
Copy link
Member Author

lib.getExe is a better option, but now we need to rethink the assertion.

Copy link

cloudflare-workers-and-pages bot commented Feb 22, 2025

Deploying devenv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 29cf352
Status: ✅  Deploy successful!
Preview URL: https://8a17e9dc.devenv.pages.dev
Branch Preview URL: https://fix-binary-for-tasks.devenv.pages.dev

View logs

@domenkozar domenkozar merged commit af8d0c8 into main Feb 23, 2025
1 check passed
@sandydoo sandydoo deleted the fix-binary-for-tasks branch February 23, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants