21 Commits

Author SHA1 Message Date
Aleksi Hannula 42d26b0984 minimal-bootstrap.tinycc-{bootstrappable,mes}: Support x86_64-linux
Because common.nix is shared across these packages, they are upgraded together.
This patch applies various x86_64-specific bugfixes to tinycc-bootstrappable
and upgrades tinycc-mes to the latest "mob" version.

The build scripts are updated to support 64-bit targets. The runtime library
"libtcc1.c" is changed to include va_list.c for tinycc-bootstrappable, which is
required to support variadic args on x86_64. On the other hand, we add alloca
support to libtcc1.c on tinycc-mes.
2025-12-13 11:27:13 +02:00
dish f401ff6003 minimal-bootstrap.tinycc-bootstrappable: unstable-2023-04-20 -> unstable-2024-07-07
Updated to work with mes 0.27
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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Emily Trau ea7533164c minimal-bootstrap.tinycc-*: static link by default 2023-05-24 11:58:37 +10:00
Emily Trau b405a6f7c7 maintainers: add minimal-bootstrap team 2023-05-18 09:15:40 +10:00
John Ericson 23f849f49d minimal-boostrap.mes: Separate compiler and libs
This matches tinycc, and what is generally done in Nixpkgs.
2023-05-14 19:27:15 -04:00
John Ericson a89962887c minimal-bootstrap.mes: Parallelize 2023-05-14 18:59:32 -04:00
John Ericson 0c7631d319 minimal-bootstrap.tcc: Dedup, separate compiler from libs 2023-05-14 18:56:00 -04:00
Emily Trau aa0a36bcd8 minimal-bootstrap.kaem: move runCommand into kaem 2023-05-12 01:43:40 +10:00
Emily Trau 1e88aa2594 minimal-bootstrap.mes: generate list of source files 2023-05-03 14:31:40 +10:00
Emily Trau f519f097e4 minimal-libc.tinycc-mes: refactor into common.nix 2023-05-02 10:18:35 +10:00
Emily Trau 1b065103f5 minimal-bootstrap.mes: split out mes-libc package 2023-05-02 10:18:34 +10:00
Emily Trau a4caff6ea4 minimal-bootstrap: remove confusing fetchtarball abstraction 2023-05-02 10:18:34 +10:00
Emily Trau 59e11ad4e4 minimal-bootstrap: add meta attributes 2023-05-02 10:18:33 +10:00
Emily Trau dc11b48d10 minimal-bootstrap.tinycc: refactor mes-libc into separate file 2023-05-02 10:18:33 +10:00
Emily Trau 5d423c3ac0 minimal-bootstrap: add source attribution 2023-05-02 10:18:33 +10:00
Emily Trau 71dcd60557 minimal-bootstrap: remove most uses of builtins.fetchTarball 2023-05-02 10:18:32 +10:00
Emily Trau c8ecd8ed57 minimal-bootstrap.stage0-posix: replace mkKaemDerivation with runCommand 2023-05-02 10:18:32 +10:00
Emily Trau d0594d2f42 minimal-bootstrap: rename from trusting-trust 2023-05-02 10:18:32 +10:00