goupile: move NIX_CFLAGS_COMPILE into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-03-22 00:29:52 +01:00
parent 1724d223e2
commit 41e30226dd
+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