Commit graph

39 commits

Author SHA1 Message Date
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
d9702aa1c4 chore: Nix: unnecessary require in emacs-dev 2021-03-05 18:02:48 +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
38911d1be3 feat: Nix: support leanpkg print-paths setup 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
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
9ecabe5a06 feat: Nix: integrate vscode-lean4 2021-01-03 19:58:46 +01: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
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
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
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
192ee5372a fix: Nix: update-stage0 2020-11-25 12:13:22 +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
58d97def40 chore: Nix: cache .o files on macOS as well 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
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
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
8b027235dc chore: Nix: split new.nix into more meaningful parts 2020-11-24 19:16:27 +01:00