On 09/20/2014 09:11 PM, Bjørn Forsman wrote:
No, fetchurl wont re-download if you change url. You have to update
the hash to force a re-download. That's by design, because changing
the mirror shouldn't cause a mass rebuild. But my realization was that
we could have made it depend on the*basename*  of url and still
prevent a changing mirror to be mass-rebuild.

For fetchurl this behaviour (ignoring inputs) is just a minor
annoyance, but for packaging a grails app it completely breaks down.

When I change the basename (and leave the hash the same), fetchurl *will* re-download, because the output name of the file does change. (It will fail, so I see little point anyway.)

Vladimir


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to