[Nix-dev] fetching tarballs recursively
Narayan Desai
narayan.desai at gmail.com
Thu Oct 30 15:01:27 CET 2014
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 <andreash87 at gmx.ch> 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
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141030/e48854a0/attachment.html
More information about the nix-dev
mailing list