Unverified Commit 1a5c7616 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

sacc: fix Darwin build (#358095)

parents 05cf591e fbf13b57
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {

  buildInputs = [ ncurses libressl ];

  CFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [
    "-D_DARWIN_C_SOURCE"
  makeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
    "OSCFLAGS=-D_DARWIN_C_SOURCE"
  ];

  postPatch = ''