Skip to content

Commit

Permalink
gnuplot: fix build with withTeXLive = true
Browse files Browse the repository at this point in the history
  • Loading branch information
t4ccer committed Nov 1, 2024
1 parent c7c5aae commit b3ad2f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/graphics/gnuplot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ 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";

Expand Down

0 comments on commit b3ad2f1

Please sign in to comment.