diff options
author | Stanisław Pitucha <git@viraptor.info> | 2024-04-29 11:22:56 +1000 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2024-05-02 09:48:28 +1000 |
commit | 837003bc80832392f181105c69c8d4eaf1cde064 (patch) | |
tree | b6d2a44ee757db86b18ff6c5bbf4091133b577a1 /pkgs/games | |
parent | 448c5af6923d6bf1753556de5e63cdb67c9eea98 (diff) |
gtypist: fix new clang
New clang defaults to C standard higher than 89. Gtypist fails to compile with that. Explicitly set gnu89 when compiling instead.
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/gtypist/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/gtypist/default.nix b/pkgs/games/gtypist/default.nix index 43b95bacefc8d..169b0fa77db08 100644 --- a/pkgs/games/gtypist/default.nix +++ b/pkgs/games/gtypist/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1"; }; + CFLAGS = "-std=gnu89"; + nativeBuildInputs = [ makeWrapper ]; buildInputs = [ ncurses perl fortune ] ++ lib.optional stdenv.isDarwin libiconv; |