texlive: add cxxflags for clang

Fixes #37719
This commit is contained in:
Matthew Justin Bauer 2018-03-24 18:11:03 -05:00 committed by GitHub
parent 1e0a60b738
commit 8067d4844e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; };