Commit Graph

111 Commits

Author SHA1 Message Date
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
1b2ecf38c9 cataclysm-dda: added maintainer philocalyst 2026-07-06 21:23:53 -04:00
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
381f2ab874 cataclysm-dda: 0.H -> 0.I 2026-07-06 21:23:50 -04:00
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
df09156e11 cataclysm-dda: refactor common.nix 2026-07-06 21:23:32 -04:00
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
e0d5fc661f cataclysm-dda: update locale-path.patch for new upstream path API 2026-07-06 21:23:30 -04:00
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
d04dfa7617 cataclysm-dda: fix desktop file name in wrapper 2026-07-06 21:23:28 -04:00
Dmitry Bogatov
f3e8af23b2 treewide: Fix malformed input hashes
Nixcpp implementation of base64 decoder ignores everything that comes
after the first "=" symbol. Clean up the existing nixcpp code so the
decoder can be made strict one day.

https://github.com/NixOS/nix/blob/master/src/libutil/base-n.cc#L94
2026-06-21 06:00:00 -04:00
Marcin Serwin
11e2354def maintainers: drop rardiol
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-06-07 12:09:58 +02:00
Dee Anzorge
4cbb8f5e1c cataclysm-dda: 0.H -> 0.H-2025-07-10-0402
Instead of cherry picking backports ourselves in Nixpkgs, use upstream's
branch `0.H-branch`, which is 0.H + relevant backports.

Upstream does not seem to do point releases out of the backports branch,
but commits in it are tagged by their CI, so that is the tag we are
using.

Also ignore a warning with darwin/clang, which fails builds of stable
and git. Upstream fix is not in their backport branch, and
cataclysm-dda-git is currently behind it. See
https://github.com/CleverRaven/Cataclysm-DDA/pull/83499.
2026-03-19 22:37:59 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01: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
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Grimmauld
aebf0e1e61 cataclysm-dda: add missing libX11 2025-04-06 20:57:03 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Sigmanificient
670aba9a64 treewide: remove unused arguments 2025-03-13 18:00:11 +01:00
Dee Anzorge
c4a6fba1c9 cataclysm-dda-git: 2024-07-28 -> 2024-12-11 2025-01-13 04:08:02 +01:00
Dee Anzorge
cd321ca9a4 cataclysm-dda: 0.G -> 0.H
Release announcement:
https://cataclysmdda.org/releases/#0h-release-herbert

Changelog:
https://github.com/CleverRaven/Cataclysm-DDA/blob/0.H-RELEASE/data/changelog.txt
2025-01-13 04:08:02 +01:00
Dee Anzorge
b69edc44cc cataclysm-dda: clean up buildInputs
* Add zlib. This was already present in tiles as an indirect dependency,
but was missing from curses builds.

* Remove ncurses from tiles builds. This ends up in closure anyway, but
CDDA itself does not require it as a direct dependency for tiles builds.

* use --replace-fail instead of --replace
2024-12-11 20:12:42 +01: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
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
caryoscelus
83851c6b24 cataclysm-dda-git: remove incompatible patches, bump git. 2024-07-29 23:33:45 +00:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Vladimír Čunát
ddc361cfca Merge #287594: glibc: 2.38-44 -> 2.39-5
...into staging
2024-03-24 06:41:49 +01:00
Maximilian Bosch
91d85fb0e6 cataclysm-dda: fix build w/ glibc-2.39
Failing Hydra build: https://hydra.nixos.org/build/252068803
2024-03-22 22:55:27 +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
detroyejr
19efe422f0 cataclysm-dda: Patch cataclysm-dda and cataclysm-dda-git.
Release 0.G needs 3 patches to build successfully with gcc 13. These can
be removed after the next release.

[patch] disable dangling reference warning
[patch] fix build with gcc 13
[patch] cleanup autogenerated prefix.h
2024-01-28 21:13:53 -05:00
Mika Feiler
a8f393e6c1 cataclysmDDA: update mods: mirror github user
SomeDeadGuy/UndeadPeopleTileset disappeared from GitHub, replaced with jmz-b/UndeadPeopleTileset who mirrored it
2023-11-26 16:48:42 +02:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Francesco Gazzetta
db7401360a maintainers: remove skeidel
* Has been inactive for over 3 years
  https://github.com/svenkeidel?tab=overview&from=2020-12-01&to=2020-12-31&org=NixOS
* Is not responsive
  https://github.com/NixOS/nixpkgs/pull/249917
2023-11-11 19:28:45 +00:00
Artturin
780669daf5 treewide: don't hardcode /nix/store (no rebuilds changes)
improve experience for other store locations
2023-03-24 20:11:33 +02:00
Felix Buehler
d10e69c86b treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-03-06 22:40:04 +01:00
D Anzorge
7eccc156c1 cataclysm-dda: 0.F-3 -> 0.G
Release announcement: https://cataclysmdda.org/releases/#0g-gaiman
Changelog: https://github.com/CleverRaven/Cataclysm-DDA/blob/0.G/data/changelog.txt
2023-03-01 21:27:45 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Fabián Heredia Montiel
0cf5d85f0c treewide: add gcc12 flags 2023-01-27 21:20:52 -06:00
Raphael Robatsch
69c8907545 cataclysm-dda: fix build 2022-09-13 19:55:22 +02:00
Sally Gordon
ad8041c08c cataclysm-dda-git: 2021-07-03 -> 2022-08-20 (#187209)
Co-authored-by: Have a good time <i@niconiconi.xyz>
2022-08-21 02:31:45 +02:00
D Anzorge
b9b7c80f7a cataclysm-dda: update locale path patch 2022-08-17 01:10:37 +02:00
Rick van Schijndel
941458e0b9 cataclysm-dda-git: mark broken on x86_64-darwin 2022-05-29 10:56:04 +02:00
Jonathan Ringer
3af9faf36d Merge pull request #133431 from Ma27/glibc-2.34
glibc: 2.33-108 -> 2.34-115
2022-02-27 18:07:11 -08:00
Maximilian Bosch
82580b1518 cataclysm-dda: fix eval
No idea why this breaks now, but let's see if that's sufficient to make
ofborg happy.
2022-02-27 20:02:04 +01:00
Maximilian Bosch
6320b7240f cataclysm-dda: fix build w/glibc-2.34
* Enable parallel building to speed up the build-time.
* Disable tests as vendored catch2 doesn't compile against glibc 2.34
  and I couldn't get the tests to run in the sandbox.

Failing Hydra build: https://hydra.nixos.org/build/163952121
2022-02-27 10:27:01 +01:00
André-Patrick Bubel
eec72b56d7 cataclysm-dda: enable parallel building (#161957) 2022-02-27 08:43:56 +02:00
D Anzorge
973c3e8411 cataclysm-dda: 0.F-2 -> 0.F-3 2021-11-29 22:04:42 +01:00
D Anzorge
7d8d6e8e40 cataclysm-dda: 0.F-1 -> 0.F-2 2021-08-31 18:41:34 +02:00
D Anzorge
98af443596 cataclysm-dda: 0.F -> 0.F-1 2021-08-19 01:06:38 +02:00
D Anzorge
27b3e0ab56 cataclysm-dda-git: 2020-12-09 -> 2021-07-03 2021-07-04 18:50:58 +02:00
D Anzorge
5f298b119a cataclysm-dda: 0.E-3 -> 0.F 2021-07-04 18:50:58 +02:00
sophrosyne97
1372b429cc cataclysm-dda-git: 2019-11-22 -> 2020-12-09 2021-05-16 15:44:54 -07:00
Sandro
e355946df1 Merge pull request #103546 from mnacamura/cdda-small-fix 2021-04-12 16:31:01 +02:00