[Nix-dev] Evaluation time vs build time

Frank frank87 at xs4all.nl
Wed May 31 21:50:56 CEST 2017


Op 31-5-2017 om 21:07 schreef Linus Heckemann:
> On 31/05/17 18:01, Judson Lester wrote:
>> <snip>
>> nix expressions cannot 'makedepend'
>>
>> In other words, values in a nix expression can't be computed from the
>> sources used to build an application.
>> <snip>
>> My question is, basically, is that true? Do I understand this correctly?
>> Even if I do, I'm sure there's details an nuances that could be expanded on.
> As far as I understand it, it's mostly true — I believe it *is* actually
> possible, just strongly discouraged and absolutely not accepted in
> nixpkgs because (iiuc) of the mess of dependencies it can create.
>
> However, I don't fully understand all the ins and outs of this and may
> be wrong.

It is nice to do all package management (except building) without 
downloading sources. Using the sources in nix-expressions would 
compromise that.

Greetings,
     Frank

(BTW, makedepend changes the makefile: autogenerating nix-files is possible)


More information about the nix-dev mailing list