Closed thufschmitt closed 5 months ago
It turns out that this blows-up the Nickel evaluation time (~x30 according to my benchmarks). I'll have to investigate why before we can merge this
x30 for such a change is really suspicious...
x30 for such a change is really suspicious...
https://github.com/tweag/nickel/issues/1930 seems to be the culprit (possibly also the real culprit for https://github.com/tweag/nickel/issues/1630)
Rebased on top of #205 . Somehow, this sidesteps the performance issue :partying_face:
(Note that this accidentally includes https://github.com/nickel-lang/organist/pull/210. I can revert it if you need @yannham )
Regenerate the files (defined in
files.*
) automatically when entering the shell (if needed).Also unify that mechanism with the one used to generate the lockfile so that everything is generated at once.
The lockfile generation is slightly hacky because there's no easy way to pass its content from Nix to Nickel. But that'll have to do the job.