to summarize i don't understand, why:

# nix-store --add test.mp4
stores into
/nix/store/z3wnqmfzqfmz5gis55bvymx3jbpgx7s5-test.mp4
which coincides with
# nix-store --print-fixed-path --recursive sha256 \
      $(nix-hash --type sha256 --base32 test.mp4) test.mp4

against

# nix-prefetch-url file://$(pwd)/test.mp4
stores into
/nix/store/1s52mklnbz1x3708wqyi9dz10xzfz63n-test.mp4
which coincides with
# nix-store --print-fixed-path sha256 \
      $(nix-hash --type sha256 --flat --base32 test.mp4) test.mp4

Attachment: pgpeuk3ke3v8x.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to