I ran into the same issue. While I didn't figure out what kind of signature was needed, it looks like a signature is required if a non-root user is trying to install data to the store. (This seems like a sensible precaution to me) -nld
On Thu, Oct 30, 2014 at 4:27 AM, Andreas Herrmann <[email protected]> wrote: > On Thursday 30 October 2014 12:45:09 Sergey Mironov wrote: > > Replacing --import/--export instead of --dump/--restore also leads to > > problems. This time, the error is > > > > $ cat dump | nix-store --import > > importing path > `/nix/store/n69kz335c800n2b6izsjbw60rlnvp87c-binutils-2.23.1.tar.bz2' > > error: imported archive of > > `/nix/store/n69kz335c800n2b6izsjbw60rlnvp87c-binutils-2.23.1.tar.bz2' > > lacks a signature > > > > what kind of signature does nix-store expect? > > I'd be interested in a good answer to this as well. I encountered the same > problem in my multi-user install script [1] for a closure of a static bash. > > Anyway, my (probably hackish) work-around was to bypass the daemon and > write directly to the nix-store by executing > > NIX_DAEMON="" nix-store --import ... > > But, I assume that this won't work on NixOS because the store is mounted > read-only. > > Best, Andreas > > > [1]: https://github.com/aherrmann/nix-multi-user-install > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
