Unverified Commit 41e30226 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

goupile: move NIX_CFLAGS_COMPILE into env for structuredAttrs

parent 1724d223
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