-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 nix copy --to /directory
built package because it lacks a valid signature
#4894
Comments
Yes, local stores require everything you copy to them to be signed with a signature you trust. You can easily bypass this by using
Yes, that’s because everything in a cachix cache is signed, and running
Depends what you mean by “without nix”, but if you have a machine with Nix installed, using the Nix docker tooling might be easier and faster in the long run |
Thanks a lot for your input, I ran |
The flag is now called |
The
|
Yeah neither of flags let copy paths now... |
I am seeing the same
Can we re-open this? |
I am using this commit:
but still experiencing the same problem:
|
NB, for anyone looking for a workaround to this, one option that I hadn't realized was available was to set |
Having this problem with Something tangential to consider: on a freshly deployed box, where nixos was installed using the installer, is the main user included in |
Should we add this as part of the error message? I'd expect 99% of the people who land here probably google the error message after trying to copy a closure from a fast build machine to a slow laptop or RasPI. |
Yup' that sounds like a very reasonable thing to do. |
Will do over the weekend. |
I have the following Dockerfile:
The
nix copy
fails with the following message:For example if I use cachix (by uncommenting the line above) everything works normally. How do I work around this? #2330 suggests to generate a binary cache, but my attempts were unsucessful.
My goal is to get the bare minimum dependencies for emacs (without nix) in order to get an Emacs docker image (feel free to give advice on how to achieve that, maybe
nix copy
is not the right tool).The text was updated successfully, but these errors were encountered: