diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-03-24 18:11:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 18:11:03 -0500 |
commit | 8067d4844e33a23a191c1ea7f7ac5c33d1499b81 (patch) | |
tree | 5ed1dd9bcfe3bff31238508e27bb490a8b426fcd /pkgs/tools | |
parent | 1e0a60b738064b9bad6fc36e4d939fff8eb7033f (diff) |
texlive: add cxxflags for clang
Fixes #37719
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/bin.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 8318ad2afe993..92778c5eed1cd 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; }; |