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

Bjørn Forsman bjorn.forsman at gmail.com
Wed Oct 1 21:50:22 CEST 2014


On 1 October 2014 21:33, Vladimír Čunát <vcunat at gmail.com> wrote:
> On 10/01/2014 09:15 PM, Bjørn Forsman wrote:
>>
>> Ok. But a "rebuildIfDeriverChanged = true;" flag then?
>
> A nix-build option for that would make much more sense to me than an
> argument to mkDerivation. (IIRC that's what Shea intended originally.)

Ok. My first thought was that a nix-build flag would be a very "big
hammer", and that it could cause unneeded rebuilds. But maybe you're
right.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list