lean4-htt/nix
Mac Malone 1835dd123d
feat: configuration DSL touchups (#4439)
This incorporates many general Lake DSL changes from #2439 and adds some
new related changes.

* Rework configuration names (e.g., `package <name>`)
  * String literals ca now be used instead of identifiers for names.
* The name syntax is now optional and can instead be set via the `name`
field.
* Avoid French quotes in `lake new` / `lake init` templates (except in
`lean_lib` names). This is not done for `lean_lib` because it needs a
proper identifier for its root. It could use a string and reparse it as
an identifier, but this seems liable to produce confusion.
* The `exe` templates now names it main module `Main` like the `std`
template.
* Improve `math` template error if `lean-toolchain` fails to download.
* Lake now logs a warning rather than an error on unknown configuration
fields. This increases the Lake DSL's cross-version compatibility.

Closes #3385.
2024-06-14 00:17:43 +00:00
..
bareStdenv chore: Nix: re-enable nix develop on bare derivations 2022-07-08 14:49:08 +02:00
templates/pkg chore: Nix: use strings instead of URL literals (#2172) 2023-03-28 10:10:24 +02:00
bootstrap.nix feat: configuration DSL touchups (#4439) 2024-06-14 00:17:43 +00:00
buildLeanPackage.nix fix: do not dllexport symbols in core static libraries (#3601) 2024-03-15 11:58:34 +00:00
lake-dev.in feat: per-package server options (#2858) 2023-11-26 13:42:38 +00:00
lean-dev.in chore: Nix: better solution for filtering test output 2022-07-28 17:12:17 +02:00
packages.nix chore: Nix bump to LLVM 15 2023-07-28 10:56:54 +02:00