Re: [Nix-dev] fetching tarballs recursively

2014-10-31 Thread Narayan Desai
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

Re: [Nix-dev] fetching tarballs recursively

2014-10-30 Thread Sergey Mironov
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

Re: [Nix-dev] fetching tarballs recursively

2014-10-30 Thread Andreas Herrmann
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:

Re: [Nix-dev] fetching tarballs recursively

2014-10-29 Thread Sergey Mironov
Hi! I have one more question regarding the topic: how to restore the collected tarballs back into /nix/store? I've tried to --dump them and later --restore , but the nix-store errored with errors like $ cat dump | nix-store --restore /nix/store/zwp4iadr91lbfynn61vnzs8i1fv003gj-bash42-016 error:

Re: [Nix-dev] fetching tarballs recursively

2014-10-29 Thread James Cook
I don't have a concrete answer, but two things come to mind: - /nix/store is mounted read-only by default on NixOS, so it might not be a permissions issue. (The nix tools do something clever every time the want to write to it.) - Looking at the man page for nix-store, the --import and --export

[Nix-dev] fetching tarballs recursively

2014-05-30 Thread Sergey Mironov
Hi! I am managing an nixpkgs branch and this branch become more and more older. There already were issues where I had to change mirror urls because of missing sources. I'd like to store as much as possible into local repository in order to protect myself from such situations. Is there a way to

[Nix-dev] fetching tarballs recursively

2014-05-30 Thread Michael Raskin
Hi! I am managing an nixpkgs branch and this branch become more and more older. There already were issues where I had to change mirror urls because of missing sources. I'd like to store as much as possible into local repository in order to protect myself from such situations. Is there a way to

Re: [Nix-dev] fetching tarballs recursively

2014-05-30 Thread Eelco Dolstra
Hi, On 30/05/14 09:48, Sergey Mironov wrote: Hi! I am managing an nixpkgs branch and this branch become more and more older. There already were issues where I had to change mirror urls because of missing sources. I'd like to store as much as possible into local repository in order to protect

Re: [Nix-dev] fetching tarballs recursively

2014-05-30 Thread Wout Mertens
I turned that into a wiki page with bad formatting (on phone) https://nixos.org/wiki/Download_all_sources I hope my explanation is correct. Wout. On May 30, 2014 10:59 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 30/05/14 09:48, Sergey Mironov wrote: Hi! I am managing an