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

Nix daemon installation breaks cache #876

Closed
dsalaza4 opened this issue Jul 12, 2022 · 2 comments
Closed

Nix daemon installation breaks cache #876

dsalaza4 opened this issue Jul 12, 2022 · 2 comments
Labels
difficulty::medium help wanted Will be solved only if someone contributes it

Comments

@dsalaza4
Copy link
Contributor

dsalaza4 commented Jul 12, 2022

When using a daemon installation of Nix, which, by the way, is the recommended one now, custom caches are not being used due to lack of trust.

For example, try running m github:fluidattacks/makes-example@main /api/env with a daemon installation,

You will get the following warning:

warning: ignoring untrusted substituter 'https://makes.cachix.org'

I think this is because trusted-substituers can only be changed by trusted-users.

I did a quick test by passing trusted-substituers and trusted-users to the nix-build command on the CLI but it did not work.

Let's investigate a comfortable way of handling this.

@dsalaza4
Copy link
Contributor Author

@jpverde It could be a good idea to add this exception to the cache builtin in the meantime just like we do with builtins that are only supported on Linux.

@kamadorueda kamadorueda moved this to 🆕 New in Makes Roadmap Sep 24, 2022
@kamadorueda kamadorueda moved this from 🆕 New to 📋 To do in Makes Roadmap Sep 24, 2022
@kamadorueda kamadorueda added help wanted Will be solved only if someone contributes it and removed sponsored by Fluid Attacks labels Sep 24, 2022
@dsalaza4
Copy link
Contributor Author

This will be addressed in #989

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Makes Roadmap Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty::medium help wanted Will be solved only if someone contributes it
Projects
Status: Done
Development

No branches or pull requests

3 participants