Commit graph

51 commits

Author SHA1 Message Date
Connor Baker
667d54640d
chore: Nix: use strings instead of URL literals (#2172) 2023-03-28 10:10:24 +02:00
Sebastian Ullrich
4048455060 chore: Nix: fix asan attribute 2023-03-27 16:48:49 +02:00
Sebastian Ullrich
2a7ae7b28a chore: Nix: explicit src 2023-01-26 13:32:42 +01:00
Sebastian Ullrich
6e34c89cbb chore: Nix: comment out rarely used lean-stage0 input
Optional inputs would be nice.
2022-11-14 13:12:07 +01:00
Sebastian Ullrich
0f6bda61c9 chore: Nix: buildLeanPackage devShell 2022-07-08 23:24:04 +02:00
Sebastian Ullrich
ab08bffbec chore: Nix: fix stage0-from-input 2022-06-27 22:37:02 +02:00
Sebastian Ullrich
4a1885f997 chore: update benchmark suite 2022-05-25 18:26:36 +02:00
Sebastian Ullrich
19925f8ec1 chore: Nix: move docs build into sub-flake
workflow is not ideal right now because of poor support for sub-flakes,
but I also don't want the doc input in the main flake...
2022-03-26 22:50:04 +01:00
Sebastian Ullrich
720e445755 chore: Nix: update inputs 2022-03-24 12:33:33 +01:00
Sebastian Ullrich
b20ecd02d7 chore: move out lean4-mode 2022-01-24 21:23:53 +01:00
Sebastian Ullrich
5a16745ad9 chore: Nix: add devShell 2021-12-17 09:43:22 +01:00
Michael Burge
6d57299396 chore: set Nix flake's defaultPackage to lean-all for interactive use
Allows Nix flake to run tutorial and other simple examples out-of-the-box.

Closes #858
2021-12-09 12:06:25 +01:00
Sebastian Ullrich
e0869bdf55 fix: sanitized build 2021-09-08 17:24:31 +02:00
Sebastian Ullrich
5f4b1b1d44 Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it""
This reverts commit ccbc9d00db.
2021-08-20 09:42:05 -07:00
Sebastian Ullrich
ccbc9d00db Revert "feat: reintroduce libleanshared, link lean & leanpkg against it" 2021-08-20 15:39:00 +02:00
Sebastian Ullrich
e121ae0d78 chore: turn off -Bsymbolic-functions in sanitized build 2021-08-18 13:54:52 +02:00
Wojciech Nawrocki
d92e4a7cf1 chore: restore LEANC_EXTRA_FLAGS
We now pass them to both compilers and linkers. For example, -pthread should be given to both: https://stackoverflow.com/questions/2127797/significance-of-pthread-flag-when-compiling
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
c772dc49ef chore: use leanc for all C code 2021-06-06 15:34:44 +02:00
Sebastian Ullrich
7ebe80ad2a chore: update Nix, Nixpkgs, vscode-lean4 2021-06-06 15:00:40 +02:00
Sebastian Ullrich
20cbb4389a fix: Nix: VS Code override 2021-04-21 12:21:02 +02:00
Sebastian Ullrich
e1e5ad30ae chore: Nix: update VS Code 2021-04-11 23:03:56 +02:00
Sebastian Ullrich
c74dd7c683 chore: Nix: stage0debug 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
9ecabe5a06 feat: Nix: integrate vscode-lean4 2021-01-03 19:58:46 +01:00
Sebastian Ullrich
4e3025fe81 feat: Nix: use HEAD as stage0 2020-12-16 18:52:39 +01:00
Sebastian Ullrich
ad5f8f021d feat: Nix: thread-sanitized build 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
03acc5ea1f feat: Nix: sanitized build 2020-11-29 14:08:53 +01:00
Sebastian Ullrich
c432ca72d6 feat: Nix: template for custom packages 2020-11-28 17:36:20 +01:00
Sebastian Ullrich
3a4b61f8c7 feat: Nix: debug builds 2020-11-28 12:37:35 +01:00
Sebastian Ullrich
2c64441910 chore: Nix: disable dirty Git tree warning & fix lean4-diff-test-file
/cc @leodemoura

Note that you will have to restart Emacs and the "Lean shell" around it for the changes to take effect
2020-11-24 20:05:24 +01:00
Sebastian Ullrich
6be577b634 fix: CI: Linux release job 2020-11-24 19:16:27 +01:00
Sebastian Ullrich
3e8693fac8 fix: Nix: provide .#lean-package etc. from Lean package 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
58d97def40 chore: Nix: cache .o files on macOS as well 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
b3165709d2 chore: Nix: writeScriptBin ~> writeShellScriptBin 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
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
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
70daaab0a0 chore: Nix: use /nix/var/cache/ccache for macOS 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
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
8b027235dc chore: Nix: split new.nix into more meaningful parts 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
a31802d5e2 chore: Nix: use lld to speed up linking by ~1s 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