mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
gnuplot: fix build with withTeXLive = true
(#352768)
This commit is contained in:
commit
b71ccf87b2
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue