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: creating file `/nix/store/zwp4iadr91lbfynn61vnzs8i1fv003gj-bash42-016': Read-only file system I expected nix-store to create the target path as nixbldX user, but looks like it is not the case. Is it expected behavior for nix-store --restore? Regards, Sergey PS My current nixpkgs is quite old at the moment. 2014-05-30 13:53 GMT+04:00 Wout Mertens <[email protected]>: > 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" <[email protected]> > wrote: >> >> 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 myself from such situations. >> > Is there a way to recursively traverse nix expression tree and collect >> > (and fetch) all the 'src' tarballs automatically? >> >> See here: >> >> http://lists.science.uu.nl/pipermail/nix-dev/2013-January/010438.html >> >> -- >> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ >> _______________________________________________ >> 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 > _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
