Commit Graph

19 Commits

Author SHA1 Message Date
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
R. Ryantm
f9d4239cf8 cdogs-sdl: 2.0.0 -> 2.1.0 2024-04-12 15:26:02 +00:00
R. Ryantm
b7899c6ff8 cdogs-sdl: 1.5.0 -> 2.0.0 2024-02-17 20:39:29 +00:00
R. Ryantm
4f312b2473 cdogs-sdl: 1.4.2 -> 1.5.0 2023-08-06 16:36:38 +00:00
Theodore Ni
233164d393
cdogs-sdl: disable fortify3 hardening flag 2023-07-12 20:09:48 -07:00
R. Ryantm
3d7814fae4 cdogs-sdl: 1.4.1 -> 1.4.2 2023-05-13 04:05:22 +00:00
matthewcroughan
c226362e96 cdogs-sdl: update pname
This allows running via nix run without setting meta.mainProgram
2023-02-25 18:57:58 +00:00
R. Ryantm
febcedca14 cdogs-sdl: 1.4.0 -> 1.4.1 2023-02-25 02:43:42 +00: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
R. Ryantm
712c208054 cdogs-sdl: 1.3.1 -> 1.4.0 2022-11-14 08:37:08 +00:00
Sebastian Reuße
1bf922e038 cdogs-sdl: 0.13.0 -> 1.3.1 2022-07-06 14:13:22 -03:00
Armeen Mahdian
712ded5f7a cdogs-sdl: fix 2022-05-13 14:33:17 -05:00
Dmitry Kalinkin
5802297abd
cdogs-dsl: mark as broken on darwin 2021-12-17 11:43:40 -05:00
R. RyanTM
0044c62188 cdogs-sdl: 0.12.0 -> 0.13.0 2021-07-22 00:49:14 +00:00
R. RyanTM
51f861a25c cdogs-sdl: 0.11.1 -> 0.12.0 2021-05-22 11:50:52 +00:00
R. RyanTM
f669f72a56 cdogs-sdl: 0.11.0 -> 0.11.1 2021-04-28 04:57:32 +00:00
nixinator
3314db5a56
cdogs-sdl: init at 0.11.0 (#118949)
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-10 17:23:57 +02:00