Skip to content

Commit

Permalink
Add shell.nix including elan and stack
Browse files Browse the repository at this point in the history
The idea is that `elan` should be used to install `lean` rather than directly using Nix, because of issues with packaging `mathlib` such as discussed here: leanprover/lean4#5122.
  • Loading branch information
Daniel Britten committed Oct 11, 2024
1 parent 704b244 commit dc4afd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = with pkgs; [
elan
stack
];
}

0 comments on commit dc4afd7

Please sign in to comment.