Merge pull request #107204 from veprbl/pr/texlive_substitute_from_hydra

texlive.combine: set allowSubstitutes = true
This commit is contained in:
Dmitry Kalinkin 2020-12-24 18:32:46 -05:00 committed by GitHub
commit 96186b217c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ let
mkUniqueOutPaths = pkgs: uniqueStrings
(map (p: p.outPath) (builtins.filter lib.isDerivation pkgs));
in buildEnv {
in (buildEnv {
name = "texlive-${extraName}-${bin.texliveYear}";
extraPrefix = "/share/texmf";
@ -271,6 +271,6 @@ in buildEnv {
''
+ bin.cleanBrokenLinks
;
}
}).overrideAttrs (_: { allowSubstitutes = true; })
# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
# similarly, deal with xe(la)tex font visibility?