Skip to content

devpkg: fix empty patch mode #2278

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

Merged
merged 1 commit into from
Sep 17, 2024
Merged

devpkg: fix empty patch mode #2278

merged 1 commit into from
Sep 17, 2024

Conversation

gcurtis
Copy link
Collaborator

@gcurtis gcurtis commented Sep 16, 2024

Fix a case where an empty patch mode wouldn't default to "auto". This was causing Devbox to skip patching when it should not have.

Got rid of the sync.OnceValue function for determining if a package needs to be patched. This was originally done to avoid a call to nix.System(), but that call doesn't happen anymore.

@gcurtis gcurtis requested review from mikeland73 and savil September 16, 2024 22:33
Fix a case where an empty patch mode wouldn't default to "auto". This
was causing Devbox to skip patching when it should not have.

Got rid of the sync.OnceValue function for determining if a package
needs to be patched. This was originally done to avoid a call to
nix.System(), but that call doesn't happen anymore.
@gcurtis gcurtis force-pushed the gcurtis/fix-empty-patch-mode branch from af7736a to e99a5de Compare September 16, 2024 22:34
@gcurtis gcurtis merged commit b9c5173 into main Sep 17, 2024
24 checks passed
@gcurtis gcurtis deleted the gcurtis/fix-empty-patch-mode branch September 17, 2024 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants