[Nix-dev] fixed-output derivation that *also* depend on (some of) its inputs?

Vladimír Čunát vcunat at gmail.com
Sat Sep 20 20:50:24 CEST 2014


Hi.

On 09/20/2014 08:34 PM, Bjørn Forsman wrote:
> IMHO, something like this could also be useful for fetchurl: Let's say
> we made it also depend on the*basename*  of url, then it'd re-download
> on package bumps but*not*  on mirror updates. (The fact that fetchurl
> ignores package bumps is slightly confusing.)

I don't have a clue what you want. If you need to download a different 
file, then the hash *will* change, and you have to rewrite it in the 
expression anyway.


Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140920/33ba5f04/attachment-0001.bin 


More information about the nix-dev mailing list