gnuplot: fix build with withTeXLive = true (#352768)

This commit is contained in:
Aleksana
2024-11-11 11:29:46 +08:00
committed by GitHub

View File

@@ -49,7 +49,8 @@ in
(if withX then "--with-x" else "--without-x")
(if withQt then "--with-qt=qt5" else "--without-qt")
(if aquaterm then "--with-aquaterm" else "--without-aquaterm")
] ++ lib.optional withCaca "--with-caca";
] ++ 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";