Skip to content

Try fixing cargo check #97

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

Closed

Conversation

Anderssorby
Copy link

Try to fix #94
nix-build does not allow for http access to ensure reproducibility. Since I were using the pre-commit hooks inside a CI which uses nix-build this will not work. So maybe we need something like https://github.com/nmattia/naersk to handle a pure package cache.

@Anderssorby Anderssorby marked this pull request as draft April 5, 2021 12:42
@domenkozar
Copy link
Member

Does this solve your issue?

@Anderssorby
Copy link
Author

@domenkozar No. I'll look into this naersk solution when I get time.

@domenkozar
Copy link
Member

@Anderssorby why is --frozen needed then? Sorry, I'm not a Rust developer.

@Anderssorby
Copy link
Author

--frozen means no internet access which is necessary for nix-build, but requires that dependencies are already downloaded.

@Anderssorby
Copy link
Author

But most likely I will not want to merge this one because it doesn't solve the issue on it's own.

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.

Cargo check fails to load crates.io-index correctly
2 participants