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