Commit Graph

9 Commits

Author SHA1 Message Date
Aleksi Hannula
839e2de5d8 minimal-bootstrap.mes: Support x86_64-linux
Some changes made here are specific to x86_64, while others are applied
only to support an upgraded tinycc version later on.

x86_64-related:
- We use ${arch} over "x86" in various places.
- gen-sources.sh changed to support x86_64; sources.nix regenerated.
- nyacc was downgraded. Newer nyacc introduces a known regression that
  causes incompatibility with mes, specifically on x86_64.
  This is honestly a mes bug, but it is hard to patch.
- The x86_64 longjmp/setjmp infrastructure from mes-libc is replaced with a
  custom implementation. The original implementation handles stack-related
  registers incorrectly, and it's hard to fix without resorting to asm.
- Assorted bugfixes for mes-libc; see mes/default.nix for explanation.

To upgrade tinycc:
- We download an implementation of ldexpl from an upstream development version.
2025-12-13 11:27:13 +02:00
dish
873fec39eb minimal-bootstrap.mes.nyacc: 1.00.2 -> 2.02.2; minimal-bootstrap.mes: 0.25 -> 0.27.1 2025-12-10 23:22:30 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Emily Trau
3dcd819caa minimal-bootstrap.mes: 0.24.2 -> 0.25 2023-11-22 10:49:51 +00:00
Emily Trau
b405a6f7c7 maintainers: add minimal-bootstrap team 2023-05-18 09:15:40 +10:00
Emily Trau
aa0a36bcd8 minimal-bootstrap.kaem: move runCommand into kaem 2023-05-12 01:43:40 +10:00
Emily Trau
760ab35487 minimal-bootstrap.nyacc: init at 1.00.2, split from mes 2023-05-02 10:18:34 +10:00