Commit Graph

10 Commits

Author SHA1 Message Date
Sergei Trofimovich
8b21717c1c gimx: fix build against gcc-13
Without the change the build in `master` fails as
https://hydra.nixos.org/build/247555199:

    gimx.c:195:6: error: implicit declaration of function 'getenv' [-Werror=implicit-function-declaration]
      195 |   if(getenv("GIMXCONF")) { snprintf(file_path, sizeof(file_path), "%s", gimx_params.config_file); }
          |      ^~~~~~
2024-02-08 08:29:56 +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
Artturin
f4ea1208ec treewide: *Flags convert to list from str
*Flags implies a list

slightly relevant:
> stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172

the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so
it's not a breaking change
2022-10-10 15:30:59 +03:00
bb2020
fd8414512b gimx: fix build 2022-05-10 19:00:02 +03:00
bb2020
852a72a70b gimx: refactor 2021-11-19 17:46:16 +03:00
bb2020
b81b6747ea gimx: cleanup 2021-04-23 23:08:54 +03:00
bb2020
ebbf8bcbe2 gimx: update configs 2021-03-22 14:40:50 +03:00
bb2020
9fcc211220 gimx: init at 8.0 2021-02-01 12:28:48 +03:00