chore: Read manifest for LSpec version
This commit is contained in:
parent
92515ea0f2
commit
9cf071eefe
|
@ -35,13 +35,12 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [(lean4-nix.readToolchainFile ./lean-toolchain)];
|
overlays = [(lean4-nix.readToolchainFile ./lean-toolchain)];
|
||||||
};
|
};
|
||||||
|
manifest = pkgs.lib.importJSON ./lake-manifest.json;
|
||||||
|
manifest-lspec = builtins.head manifest;
|
||||||
lspecLib = pkgs.lean.buildLeanPackage {
|
lspecLib = pkgs.lean.buildLeanPackage {
|
||||||
name = "LSpec";
|
name = "LSpec";
|
||||||
roots = ["LSpec"];
|
roots = ["LSpec"];
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit { inherit (manifest-lspec) url rev; };
|
||||||
url = "https://github.com/argumentcomputer/LSpec.git";
|
|
||||||
rev = "ca8e2803f89f0c12bf9743ae7abbfb2ea6b0eeec";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
project = pkgs.lean.buildLeanPackage {
|
project = pkgs.lean.buildLeanPackage {
|
||||||
name = "Pantograph";
|
name = "Pantograph";
|
||||||
|
|
Loading…
Reference in New Issue