gts: only rebuild on *-darwin for now

This commit is contained in:
Vladimír Čunát
2026-04-11 09:11:50 +02:00
parent 742257e6d2
commit f90111ac03
+2 -2
View File
@@ -32,8 +32,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ gettext ];
propagatedBuildInputs = [ glib ];
env = {
# Doesn't build on Darwin with -std=gnu23. Apply uniformly as C standard target is something unlikely to vary across platforms.
env = lib.optionalAttrs stdenv.isDarwin {
# Doesn't build on Darwin with -std=gnu23.
NIX_CFLAGS_COMPILE = "-std=gnu17";
};