Zulip Chat Archive
Stream: lean4
Topic: Arguments in lakefile
Heather Macbeth (May 03 2023 at 00:02):
Is there a way to set an option using moreServerArgs
in the lakefile, when the option in question is defined in mathlib rather than in core Lean?
(If it matters, the option I want to set is this one.)
Mac Malone (May 07 2023 at 16:31):
I think you can do it the same way?
Heather Macbeth (May 07 2023 at 17:10):
@Mac Thanks for the answer ... to clarify, my usual lakefile doesn't even know about that option. Am I supposed to import mathlib to my lakefile??
Mac Malone (May 07 2023 at 17:26):
Unfortunately, I am apparently wrong. According to @Gabriel Ebner, custom options cannot be configured this way at all (without making a plugin).
Heather Macbeth (May 07 2023 at 17:33):
OK, thanks! What is a plugin?
Mac Malone (May 07 2023 at 17:54):
It is a special kind of precompiled module that Lake does not currently support (partially because Lean does not yet support them in custom frontends).
Last updated: Dec 20 2023 at 11:08 UTC