Commit graph

79 commits

Author SHA1 Message Date
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
Sebastian Ullrich
78379de8e6 chore: go back to LLVM 10
3% slower on stdlib: http://speedcenter.informatik.kit.edu/velcom/run-detail/9012094e-6524-4e99-8397-1b17b6a10ae5
failure on macOS: https://hydra.nixos.org/build/130586121
2020-11-30 12:32:53 +01:00
Sebastian Ullrich
f850354ee1 chore: turn LLVM up to 11 2020-11-30 11:46:32 +01:00
Sebastian Ullrich
9527058df9 feat: Nix: support overriding stage 0 for chaining builds with different configurations/source trees 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
d7c3be09f6 feat: Nix: inherit LEAN_PATH in lean-package/emacs-package 2020-11-28 17:36:20 +01:00
Sebastian Ullrich
c432ca72d6 feat: Nix: template for custom packages 2020-11-28 17:36:20 +01:00
Sebastian Ullrich
6a61296f73 chore: Nix: use same stage for retrieving dependencies 2020-11-28 12:37:36 +01:00
Sebastian Ullrich
e250e8e433 fix: Nix: use interpreter.prefer_native=false during bootstrap 2020-11-28 12:37:36 +01:00
Sebastian Ullrich
3a4b61f8c7 feat: Nix: debug builds 2020-11-28 12:37:35 +01:00
Sebastian Ullrich
bbe3d51c44 chore: Nix: hide some Nix warnings in lean-dev
/cc @javra
2020-11-25 18:37:33 +01:00
Sebastian Ullrich
192ee5372a fix: Nix: update-stage0 2020-11-25 12:13:22 +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
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
e0d9bc2f9b chore: Nix: simplify flake.nix after all and fix shell.nix 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
2794ae76f9 feat: Nix: update-stage0 2020-11-24 19:16:27 +01:00