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

Make stacklock2nix work even if no local packages are specified #50

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

cdepillabout
Copy link
Owner

This is a small improvement to stacklock2nix that makes it work even if there are no local packages defined in the input stack.yaml file.

Fixes #49

@cdepillabout
Copy link
Owner Author

@chris-martin would you be able to check that this fix works for you in freckle/stack-lint-extra-deps#31?

@chris-martin
Copy link

This suppresses the error but still ignores the package I'm trying to build (see #49 (comment)).

@cdepillabout
Copy link
Owner Author

@chris-martin I just pushed 25b6944 which should implement the default of a single package in the same directory as the stack.yaml file if the packages key is missing from stack.yaml.

Could you take a look at this and see if it is working for you in freckle/stack-lint-extra-deps#31?

@cdepillabout
Copy link
Owner Author

I'm going to go ahead and merge this in, since I think it should be working well now.

@cdepillabout cdepillabout merged commit 6869a0d into main Aug 13, 2024
2 checks passed
@cdepillabout cdepillabout deleted the support-no-local-pkgs branch August 13, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure when 'packages' is missing from stack.yaml
2 participants