From 8067d4844e33a23a191c1ea7f7ac5c33d1499b81 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Sat, 24 Mar 2018 18:11:03 -0500 Subject: texlive: add cxxflags for clang Fixes #37719 --- pkgs/tools/typesetting/tex/texlive/bin.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/tools') diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 8318ad2afe99..92778c5eed1c 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -144,6 +144,9 @@ core = stdenv.mkDerivation rec { mv "$out"/share/{man,info} "$doc"/doc '' + cleanBrokenLinks; + # needed for poppler and xpdf + CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11"; + setupHook = ./setup-hook.sh; # TODO: maybe texmf-nix -> texmf (and all references) passthru = { inherit version buildInputs; }; -- cgit 1.4.1