[Nix-dev] Why does fetchgit not look at the URL to determine the cache location?
tomasz.kontusz at gmail.com
Thu Jan 1 13:50:38 CET 2015
Rico Huijbers <rix0rrr at gmail.com> napisał:
>Shouldn’t fetchgit build the hash from URL and rev, as opposed to the
>provided hash? Or am I doing it wrong?
I think adding the rev to output hash is a good idea, but not the URL. URL can change without changing fetchgit's output. (Well, rev can too, but I think that's less common)
But I'm not sure if this can be implemented without adding a file with the rev to the output (or extending fixed-output derivations).
>nix-dev mailing list
>nix-dev at lists.science.uu.nl
Wysłane za pomocą K-9 Mail.
More information about the nix-dev