chore: Nix: simplify flake.nix after all and fix shell.nix

This commit is contained in:
Sebastian Ullrich
2020-11-23 20:04:53 +01:00
parent a5ad46f7be
commit e0d9bc2f9b
3 changed files with 5 additions and 9 deletions

View File

@@ -88,8 +88,7 @@
in rec {
packages = {
inherit cc lean4-mode buildLeanPackage;
inherit (lean) stage0 stage1 stage2 stage3;
inherit (lean.stage1) lean mods Init Std Lean test emacs-dev emacs-package update-stage0 update-stage0-commit;
lean = lean.stage1;
temci = (import temci {}).override { doCheck = false; };
nix = nix-pinned;
nixpkgs = nixpkgs.legacyPackages.${system};
@@ -101,7 +100,7 @@
'';
mdbook = lean-mdbook;
inherit doc doc-test;
};
} // lean.stage1 // lean;
defaultPackage = packages.lean;