Unverified Commit d5adf1cc authored by Stefan Frijters's avatar Stefan Frijters
Browse files

gnuplot: move CXXFLAGS into env for structuredAttrs

parent 5b8134af
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;