-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cannot pass lists #1
Comments
Thank you for reporting this! I indeed made |
Thanks for looking into this! (and writing nix-prefetch in the first place) Using |
I just pushed the necessary fixes. Could you verify if it now works like you expected it to? Then I can tag it as the new version. My goal for |
Yep, seems to work. Although I just now figured out that apparently the declarative hydra configuration does not take JSON lists. Oh well… Another issue I've run into is this: |
Great to hear its working for you. About the other issue, I created #2 and think I have found the cause. It likely has to do with |
Some fetchers (like fetchrepoproject) take lists, which I cannot seem to figure out how to pass to nix-prefetch.
Using
--input nix
or--input json
fails with jq errors, regular command line arguments seem to turn the list into a string.I tried some more things, but I doubt they are relevant. I would love to be able to use nix-prefetch, but without being able to pass lists to it somehow, it sadly does not fulfill my requirements.
The text was updated successfully, but these errors were encountered: