mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 16:41:08 +00:00
gnuplot: fix build with withTeXLive = true (#352768)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user