Commit graph

96 commits

Author SHA1 Message Date
Sebastian Ullrich
c7e6c9d89c chore: Nix: allow importing Leanpkg by default 2021-04-08 18:16:19 +02:00
Sebastian Ullrich
898222686c chore: Nix: update vscode-lean4 2021-04-08 09:51:01 +02:00
Sebastian Ullrich
ad460c84ce chore: Nix: allow editing src/Leanpkg 2021-04-06 14:38:00 +02:00
Sebastian Ullrich
5644cee2d6 chore: reset prefer_native 2021-04-05 13:58:15 +02:00
Sebastian Ullrich
98e1baabbd refactor: make trailingNode clean up after itself
Also resolves an issue with emitting both `left` and a partial tree
containing it
2021-04-05 13:51:03 +02:00
Sebastian Ullrich
e10cf4cf33 fix: Nix: leanpkg outside flake 2021-04-05 10:50:21 +02:00
Sebastian Ullrich
1665f8d455 chore: Nix: update vscode-lean4 2021-03-25 18:53:44 +01:00
Sebastian Ullrich
9f6436ebfd chore: reset prefer_native 2021-03-22 16:33:37 +01:00
Sebastian Ullrich
725c0c1911 chore: implement lhs prec 2021-03-22 16:33:37 +01:00
Sebastian Ullrich
bddf2ca7e1 chore: Nix: update vscode-lean4 2021-03-16 16:41:32 -07:00
Sebastian Ullrich
4195507655 feat: lean4-mode: nicer info view using magit sections 2021-03-10 17:09:41 +01:00
zygi
6a0a4fd71c
feat: Nix: depend on static libraries and plugins (#322)
Co-authored-by: Zygimantas Straznickas <hi@zygi.me>
2021-03-06 22:57:24 +01:00
Sebastian Ullrich
6664f58a0e chore: link lean using leanc 2021-03-06 10:17:50 +01:00
Sebastian Ullrich
edf4a2be72 chore: lean4-mode: remove obsolete dependency 2021-03-05 18:02:48 +01:00
Sebastian Ullrich
d9702aa1c4 chore: Nix: unnecessary require in emacs-dev 2021-03-05 18:02:48 +01:00
Sebastian Ullrich
0ac95965dc chore: update vscode-lean4 2021-02-20 14:16:47 +01:00
Sebastian Ullrich
95183e4e60 chore: Nix: update vscode-lean4 to 0.0.6 2021-02-13 16:42:21 +01:00
Sebastian Ullrich
eedce252ff chore: Nix: do not set extra cmake flags like fsanitize for stage 0 2021-02-01 11:58:37 +01:00
Sebastian Ullrich
9aa3b2858f chore: Nix: search for root directory in lean-dev after all
Otherwise `lean4-diff-test-file` will use the Lean version when Emacs was started...
2021-01-22 19:19:37 +01:00
Sebastian Ullrich
b2c609c3ac chore: Nix: set up LEAN_SYSROOT automatically in server 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
a131924797 fix: Nix: lean-dev outside package 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
c74dd7c683 chore: Nix: stage0debug 2021-01-20 16:48:50 +01:00
Sebastian Ullrich
38911d1be3 feat: Nix: support leanpkg print-paths setup 2021-01-19 19:06:01 +01:00
Sebastian Ullrich
d7733ba662 feat: use leanpkg print-path for worker initialization 2021-01-19 19:06:01 +01:00
Sebastian Ullrich
351285a2e8 fix: Nix: I still forget how to handle argument quoting in bash 2021-01-13 16:39:00 +01:00
Sebastian Ullrich
298af4f749 chore: Nix: work around NixOS/nixpkgs#109033 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
b2e42a3ea6 chore: remove --json option 2021-01-12 09:51:14 -08:00
Sebastian Ullrich
332ca33947 chore: Nix: do not compile shell/lean.cpp into leancpp 2021-01-10 18:52:23 +01:00
Sebastian Ullrich
e63ab75cb9 fix: Nix: executable 2021-01-09 23:07:55 +01:00
Sebastian Ullrich
db2613cead fix: leanc should not depend on ccache or cmake g++
use e.g. `LEAN_CXX=ccache clang++` to re-enable
2021-01-09 23:02:48 +01:00
Sebastian Ullrich
597304db95 fix: Nix: executable 2021-01-05 16:48:14 +01:00
Sebastian Ullrich
6b2241ca30 chore: Nix: executable should not be a function 2021-01-05 16:33:58 +01:00
Sebastian Ullrich
d454d4d20c chore: Nix: make the default flake.nix a bit easier to customize 2021-01-05 16:31:50 +01:00
Sebastian Ullrich
9ecabe5a06 feat: Nix: integrate vscode-lean4 2021-01-03 19:58:46 +01:00
Sebastian Ullrich
d11c9faf80 chore: update flake inputs 2021-01-02 15:37:38 +01:00
Sebastian Ullrich
cc9a18b69c fix: Nix: update-stage0 2020-12-30 22:15:57 +01:00
Sebastian Ullrich
a5720c9063 chore: Nix: reduce dependencies of cmake builds 2020-12-30 17:01:05 +01:00
Sebastian Ullrich
227393ef58 chore: Nix: build leanmake 2020-12-29 14:42:48 -08:00
Sebastian Ullrich
99597d6977 chore: Nix: do not include dependencies' modules in package outputs 2020-12-29 14:42:48 -08:00
Sebastian Ullrich
9e237f8a12 feat: basic port of leanpkg 2020-12-29 14:42:48 -08:00
Sebastian Ullrich
be8abe9f86 feat: Nix: support LSP 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
c7262544ab chore: simplify & fix lean4-lsp.el 2020-12-23 20:00:36 +01:00
Sebastian Ullrich
83304b8a0c chore: Nix: preserve source paths in debug builds 2020-12-20 16:46:03 +01:00
Sebastian Ullrich
4e3025fe81 feat: Nix: use HEAD as stage0 2020-12-16 18:52:39 +01:00
Sebastian Ullrich
f641a660ce doc: include up-to-date begin-end macro code from test
@leodemoura: #include is pretty handy
2020-12-14 15:10:03 +01:00
Sebastian Ullrich
73ae39313d fix: Nix: better stage 0 detection 2020-12-08 17:13:32 +01:00
Sebastian Ullrich
23b0e6ca5b fix: Nix: use stage 1 outside of src/
Hopefully we can solve this using a src/flake.nix as soon as relative flake inputs are supported
2020-12-03 18:49:29 +01:00
Sebastian Ullrich
797bec86f5 chore: Nix: overhaul nix-dev, lift technical restrictions 2020-12-02 16:49:25 +01:00
Sebastian Ullrich
b90f93966d fix: Nix: add transitive external dependencies to the LEAN_PATH 2020-12-02 13:59:19 +01:00
Sebastian Ullrich
8cc6ec1cb7 chore: Nix: Lean shell quoting 2020-12-01 15:55:41 +01:00