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

remote building and propagation of substituters/trusted-public-keys? #33

Open
colemickens opened this issue Oct 21, 2023 · 2 comments
Open

Comments

@colemickens
Copy link

colemickens commented Oct 21, 2023

I'm looking at removing almost all of my "nix wrapper" script in favor of nix-fast-build.

One other thing that my wrapper script does is re-specify substituters and trusted-public-keys and ensure that the remote build is performed with them.

  1. Does nix-fast-build do this? (If so, I can send a PR noting it in the README in the remote builder section)
  2. If not, does it make sense to add such a feature?
  3. (I wonder if nix has or should have a feature to print the net of global and user nix conf and use that?)
@colemickens
Copy link
Author

I suppose I may still need this, since I also use it to ensure that when I deploy to a (potentially fresh) host, it re-specifies the trusted-caches to use. And I can't remember if nix build -j0 --store "ssh-ng://..." propagates them either.

@Mic92
Copy link
Owner

Mic92 commented Oct 21, 2023

This is not implemented yet. It would also require that your remote user is a trusted user to make this effective.

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

No branches or pull requests

2 participants