Unverified Commit b809a6cc authored by Ivan Mincik's avatar Ivan Mincik Committed by GitHub
Browse files

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

parents 0da8f338 41e30226
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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