chore: Read manifest for LSpec version

This commit is contained in:
Leni Aniva 2025-03-08 21:16:47 -08:00
parent 92515ea0f2
commit 9cf071eefe
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 3 additions and 4 deletions

View File

@ -35,13 +35,12 @@
inherit system;
overlays = [(lean4-nix.readToolchainFile ./lean-toolchain)];
};
manifest = pkgs.lib.importJSON ./lake-manifest.json;
manifest-lspec = builtins.head manifest;
lspecLib = pkgs.lean.buildLeanPackage {
name = "LSpec";
roots = ["LSpec"];
src = builtins.fetchGit {
url = "https://github.com/argumentcomputer/LSpec.git";
rev = "ca8e2803f89f0c12bf9743ae7abbfb2ea6b0eeec";
};
src = builtins.fetchGit { inherit (manifest-lspec) url rev; };
};
project = pkgs.lean.buildLeanPackage {
name = "Pantograph";