goupile: move NIX_CFLAGS_COMPILE into env for structuredAttrs (#502062)

This commit is contained in:
Ivan Mincik
2026-03-23 07:56:42 +00:00
committed by GitHub
+3 -1
View File
@@ -43,7 +43,9 @@ stdenv'.mkDerivation (finalAttrs: {
];
# pipe2() is only exposed with _GNU_SOURCE
NIX_CFLAGS_COMPILE = [ "-D_GNU_SOURCE" ];
env.NIX_CFLAGS_COMPILE = toString [
"-D_GNU_SOURCE"
];
buildPhase = ''
runHook preBuild