[Nix-dev] wiki entry on how to add a large file into the nix store

Jonas Hörsch coroa at online.de
Fri Sep 13 16:34:38 CEST 2013


On Fri, Sep 13 2013, Marc Weber wrote:

> No, but it suggests this instead which probably yields the same store
> path?:
> nix-store --add-fixed sha256 jdk-6u45-linux-x64.bin

oh cool. yes, it does yield the same path as nix-prefetch-url.

together with the observation, that "nix-store --add" also seems to add
a whole directory, this suggests a totally different usage scenario for
nix-store --add.

> I don't know what the exact difference is, I'm also too lazy to look it
> up.

fair enough.

thanks for bearing with me so far,
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130913/8f2f2429/attachment.bin 


More information about the nix-dev mailing list