Zulip Chat Archive
Stream: lean4
Topic: deps added from 2 lakefiles.
Alok Singh (Apr 24 2025 at 03:12):
In a repository, I have both a lakefile.toml and a lakefile.lean. I observed that the .lean file takes precedence over the .toml file. However, if I add a dependency (specifically, Mathlib) to the toml file, it will be added to dependencies instead of being ignored.
Kevin Buzzard (Apr 24 2025 at 08:38):
I should think that having both is a recipe for disaster
Michael Rothgang (Apr 24 2025 at 10:44):
Can you just delete one of them? That seems like a better solution for the medium- to long term.
Alok Singh (Apr 24 2025 at 15:37):
I already deleted it. The thing is that it says the lean file overrides the toml, so I expected it to do that. So I figured I'd report this behavior first
Mac Malone (Apr 24 2025 at 18:33):
@Alok Singh This is definitely a bug worth reporting as an issue on the GitHub if you have the time.
Mac Malone (Apr 24 2025 at 18:34):
I am definitely confused as to how this could occur -- there is nothing in Lake that to merge the two files. Thus,, debugging this should be interesting.
Last updated: May 02 2025 at 03:31 UTC