Compare commits
No commits in common. "bdb060b79f35663c26bbcf4ed4f3bf7d4025a201" and "1d1a151a4b2ccafb4897457fb09f857ffe9a9506" have entirely different histories.
bdb060b79f
...
1d1a151a4b
12
flake.nix
12
flake.nix
|
@ -37,14 +37,9 @@
|
||||||
};
|
};
|
||||||
project = leanPkgs.buildLeanPackage {
|
project = leanPkgs.buildLeanPackage {
|
||||||
name = "Pantograph";
|
name = "Pantograph";
|
||||||
|
#roots = pkgs.lib.optional pkgs.stdenv.isDarwin [ "Main" "Pantograph" ];
|
||||||
roots = [ "Main" "Pantograph" ];
|
roots = [ "Main" "Pantograph" ];
|
||||||
src = pkgs.lib.cleanSourceWith {
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
filter = path: type:
|
|
||||||
!(pkgs.lib.hasInfix "/Test/" path) &&
|
|
||||||
!(pkgs.lib.hasSuffix ".md" path) &&
|
|
||||||
!(pkgs.lib.hasSuffix "Makefile" path);
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
test = leanPkgs.buildLeanPackage {
|
test = leanPkgs.buildLeanPackage {
|
||||||
name = "Test";
|
name = "Test";
|
||||||
|
@ -63,6 +58,7 @@
|
||||||
packages = {
|
packages = {
|
||||||
inherit (leanPkgs) lean lean-all;
|
inherit (leanPkgs) lean lean-all;
|
||||||
inherit (project) sharedLib executable;
|
inherit (project) sharedLib executable;
|
||||||
|
test = test.executable;
|
||||||
default = project.executable;
|
default = project.executable;
|
||||||
};
|
};
|
||||||
checks = {
|
checks = {
|
||||||
|
@ -73,9 +69,7 @@
|
||||||
${test.executable}/bin/test > $out
|
${test.executable}/bin/test > $out
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = project.devShell;
|
||||||
buildInputs = [ leanPkgs.lean-all leanPkgs.lean ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue