Zulip Chat Archive
Stream: general
Topic: elan nix package installs way more than it promises
MangoIV (Dec 20 2023 at 20:28):
It’s quite tedious to use elan from nixpkgs, together with the lean4 flake because it installs its own version of lean, lake and so on. It would be nice if it only installs what it says it will install to avoid having to fiddle around picking the correct binaries.
MangoIV (Dec 20 2023 at 20:30):
Wait. Why does it just link all the names to elan?
Sebastian Ullrich (Dec 20 2023 at 21:16):
That's how it does its main job of redirecting lean
invocation to the correct toolchain
MangoIV (Dec 20 2023 at 21:17):
Aha! So what do I need elan for except for if I install lean and lake from the lean repo? I see that lake exe cache get fails without elan installed (or the “hook” thing that gets executed when you’re trying to lake update after adding mathlib as a dep)
Sebastian Ullrich (Dec 20 2023 at 21:22):
Using the flake together with mathlib just seems like a recipe for unnecessary suffering. Everyone else is using elan so nobody is testing e.g. the hook script with alternative setups.
MangoIV (Dec 20 2023 at 21:24):
Alright, thank you anyways!
Last updated: May 02 2025 at 03:31 UTC