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

[easy][lock-tidy] Don't tidy flakes #2162

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

mikeland73
Copy link
Contributor

Summary

TSIA

How was it tested?

@mikeland73 mikeland73 requested review from savil and Lagoja June 19, 2024 16:50
@@ -145,6 +145,7 @@ func newPackage(raw string, isInstallable func() bool, locker lock.Locker) *Pack
// assume a Devbox package.
parsed, err := flake.ParseInstallable(raw)
if err != nil || pkgtype.IsAmbiguous(raw, parsed) {
// TODO: This sets runx packages as devbox packages. Not sure if that's what we want.
Copy link
Collaborator

Choose a reason for hiding this comment

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

oooh :D
good thing runx isn't public yet, so we can land this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This hasn't broken anything for us (yet) even though we use runx. But I think in the future this confusion could lead to bugs.

@mikeland73 mikeland73 merged commit b98a852 into main Jun 19, 2024
24 checks passed
@mikeland73 mikeland73 deleted the landau/dont-tidy-flakes branch June 19, 2024 16:59
Copy link

sentry-io bot commented Jun 27, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ *Generic Error: <redacted usererr.combined>: empty flake installable go.jetpack.io/devbox/nix/flake in ParseInstallable View Issue
  • ‼️ Generic Error: empty flake installable go.jetpack.io/devbox/nix/flake in ParseInstallable View Issue

Did you find this useful? React with a 👍 or 👎

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.

2 participants