Unverified Commit 7acb77d1 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

gnuplot: move CXXFLAGS into env for structuredAttrs (#490788)

parents 6a8895f8 d5adf1cc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -92,7 +92,9 @@ stdenv.mkDerivation rec {
  ++ lib.optional withCaca "--with-caca"
  ++ lib.optional withTeXLive "--with-texdir=${placeholder "out"}/share/texmf/tex/latex/gnuplot";

  CXXFLAGS = lib.optionalString (stdenv.hostPlatform.isDarwin && withQt) "-std=c++11";
  env = lib.optionalAttrs (stdenv.hostPlatform.isDarwin && withQt) {
    CXXFLAGS = "-std=c++11";
  };

  # we'll wrap things ourselves
  dontWrapGApps = true;