Commit graph

22593 commits

Author SHA1 Message Date
Sebastian Ullrich
3e8693fac8 fix: Nix: provide .#lean-package etc. from Lean package 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4f89cbf9b9 doc: Nix: explain some warnings
/cc @leodemoura @javra
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
bc0010b84c fix: Nix: Lean module ccache
Now I remember again why I did that the way I did it
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
d61cb698aa chore: hide matrix parameters in CI job names 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
1b302f328f doc: fix Bash comment highlighting 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e0d9bc2f9b chore: Nix: simplify flake.nix after all and fix shell.nix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a5ad46f7be feat: Nix: mdbook 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
ffb8e1904b doc: Nix setup 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
58d97def40 chore: Nix: cache .o files on macOS as well 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
fc6ddcef94 chore: Nix: fix nix run 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e167085429 doc: remove outdated description 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
2794ae76f9 feat: Nix: update-stage0 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b02413120f chore: Nix: preserve module directory structure in .c and .o outputs
This simplifies update-stage0 and makes linker errors from static libraries less confusing
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b3165709d2 chore: Nix: writeScriptBin ~> writeShellScriptBin 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
09d71cf3d3 chore: Nix: adjust depRoot drv name, build locally only 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
574cc0b4a3 chore: Nix: do a single-user install after all so the ccache cache doesn't get confused about permissions 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
ad8c551572 chore: Nix: reduce runtime closure of cmake derivations 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e094bdcd62 chore: Nix: print cumulative and per-line execution time on CI 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4061894943 chore: Nix: set up ccache config & fix ccache stats step 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
feedb539cd chore: import orphaned files in Lean 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a6f8ff94ca chore: Nix: exclude leanmake test 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e6fcd61173 chore: Nix: tidy packages up a bit 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6e406d50d9 chore: Nix: cache stage 0 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
31876691dc chore: Nix: build thin static libraries
Less disk churn and .o files are automatically included in binary cache pushes
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
3439cc80b3 chore: Nix: fix compilation on macOS 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
bcebc0a145 chore: Nix: set up Cachix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
2407673394 chore: Nix: install flakes-enabled Nix directly from Hydra 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
70daaab0a0 chore: Nix: use /nix/var/cache/ccache for macOS 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
baeea69972 chore: Nix: basic GitHub Actions setup 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
9a5867ffd7 chore: ignore result files from nix build 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
8b33ce9bdf chore: Nix: strip "Git dir ... is dirty" warnings 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
511a958f56 fix: Nix: require lean4-mode on Emacs startup 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
73e9b96cdc refactor: Nix: move out lean-dev script 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
092d5d67b4 chore: Nix: rebase old shell.nix setup on new flake.nix one, add shell nix attribute for pinned flakes-enable Nix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4d3d7cb4a6 fix: Nix: minor fixes in lean-dev 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
1dedafa173 fix: Nix: use current stage for files outside of source root 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6845d18119 fix: Nix: separate development and package lean/emacs 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
f6fcca6316 feat: Nix: multi-platform, reorganize outputs 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
b2c83a37d8 feat: Nix: Emacs PoC 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
50abe8352b feat: allow specifying file name with --stdin 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
8b027235dc chore: Nix: split new.nix into more meaningful parts 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
50555e7db5 chore: Nix: make buildMod nix develop-friendly 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
df99a6a469 fix: Nix: tests (almost, apart from leanmake & server tests) 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
f5db6575e8 chore: Nix: always use stage 1 leanc & headers 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a31802d5e2 chore: Nix: use lld to speed up linking by ~1s 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
7395cddfe9 chore: Nix: link final binary in separate derivation to avoid rerunning cmake build on Lean-only changes 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
cae60eb106 chore: Nix: reduce evaluation time with custom mkDerivation & other tweaks 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
875ca7ed7e chore: Nix: new stages & other tweaks 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
0212ccd3e2 feat: Nix: compatibility default.nix 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
c6929ae69a feat: Nix: basic setup 2020-11-24 19:16:27 +01:00