[Nix-dev] Importing .narinfo into nix store.
Vladimír Čunát
vcunat at gmail.com
Mon Dec 21 10:59:03 CET 2015
On 12/21/2015 01:38 AM, Kevin Cox wrote:
> I have most of the pieces in place, I can build my program and use nix-
> push to generate a binary cache of the program as well as all of its
> dependencies. This basically leaves me with a file called hash.narinfo
> in my binary cache. I feel like it should be fairly easy to use that
> file to pull down all of the dependencies required into the nix store
> so that my program can run, however I can't find a way to do this.
Why reinvent the wheel? That's what one of our scripts does:
https://github.com/NixOS/nix/blob/master/scripts/download-from-binary-cache.pl.in
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151221/5845acb4/attachment.bin
More information about the nix-dev
mailing list