Commit Graph

7 Commits

Author SHA1 Message Date
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
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Sergei Trofimovich
05a57af125 lzwolf: fix the build against gcc-13
Without the change build fails against `gcc-13` on `master` as
https://hydra.nixos.org/build/246520454:

    In file included from /build/source/src/actor.h:40,
                     from /build/source/src/g_blake/a_smartanim.cpp:36:
    /build/source/src/gamemap.h:255:64: error: 'std::uint16_t' has not been declared
      255 |                 void                    OperateConcession(std::uint16_t concession);
          |                                                                ^~~~~~~~
2024-01-24 10:37:36 +00:00
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
Sergei Trofimovich
7a61a3710d lzwolf: fix build on SDL2_net-2.2
Without the change build fails as:

    /build/source/src/wl_net.h:38:10: fatal error: SDL_net.h: No such file or directory
       38 | #include <SDL_net.h>
          |          ^~~~~~~~~~~
    compilation terminated.
2023-04-14 06:39:33 +01:00
superherointj
87cb67b8c6 lzwolf: pin SDL2_mixer to 2.0.x 2023-02-28 10:29:16 -03:00
tgunnoe
290b04c5a8 lzwolf: init at unstable-2022-01-04 2022-01-23 12:45:11 -05:00