-
Notifications
You must be signed in to change notification settings - Fork 19
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
Artifact downloads limited by max-jobs #73
Comments
That's for sure an option. Is your use case to speed up CI builds? If not on CI, there is an option to add the dependencies to the nix store when you generate the lock file, search for
Probably I should add a flag to the CLI to do that. |
Yes, also
Interesting, a flag to just transfer to nix store - without updating any versions - would also solve these cases, right? |
@bendlas to clarify it, a new CLI command, like add-clj-deps deps-lock.json which adds all the dependencies to the nix store, solves your use case, right? |
Yes, a cli command like |
When the jar and pom files for a classpath are not in /nix/store, the resulting downloads are treated as regular builds and can be very slow if
max-jobs
is low.This is essentially the same problem nix-community/yarn2nix#9 (comment)
Possible workarounds
--option max-jobs 256
builtins.fetchurl
wouldcount againsthttp-downloads
?The text was updated successfully, but these errors were encountered: