Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lake update gets stuck if I add mathlib as dependency #18256

Open
lattice0 opened this issue Oct 26, 2024 · 1 comment
Open

lake update gets stuck if I add mathlib as dependency #18256

lattice0 opened this issue Oct 26, 2024 · 1 comment

Comments

@lattice0
Copy link

When the last 2 lines are added:


import Lake
open Lake DSL

package "lean1" where
  version := v!"0.1.0"

lean_lib «Lean1» where
  -- add library configuration options here

@[default_target]
lean_exe "lean1" where
  root := `Main

require mathlib from git
  "https://github.com/leanprover-community/mathlib4"

then I run lake update -vv and it displays no output and gets stuck forever with no return.

@LordGoatius
Copy link

I've gotten the exact same problem trying to add Mathlib. - -vv gives nothing and strace shows it freezing at this point:
2025-01-10_22-14
I'm just starting with Lean, so I'm not sure where to start with this.
My lakefile looks like this:

import Lake
open Lake DSL

package "PlanePartitions" where
  version := v!"0.1.0"

lean_lib «PlanePartitions» where
  -- add library configuration options here

require "leanprover-community" / "mathlib"

@[default_target]
lean_exe "planepartitions" where
  root := `Main

The manifest appears unchanged after each attempt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants