On Fri, Sep 13 2013, Marc Weber wrote:
> The main difference is that prefetch-url can read from http and the
> other only works with files?
that doesn't explain why
# nix-store --add test.mp4
/nix/store/z3wnqmfzqfmz5gis55bvymx3jbpgx7s5-test.mp4
and
# nix-prefetch-url file://$(pwd)/test.mp4
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8948k 100 8948k 0 0 329M 0 --:--:-- --:--:-- --:--:-- 329M
path is ‘/nix/store/1s52mklnbz1x3708wqyi9dz10xzfz63n-test.mp4’
08jjf3dqgsrs3yg1k9x740mk8c8i4qpcj6xifdriy7j9lbaxy0q0
store the same file into different paths
/nix/store/z3wnqmfzqfmz5gis55bvymx3jbpgx7s5-test.mp4
against
/nix/store/1s52mklnbz1x3708wqyi9dz10xzfz63n-test.mp4
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev