1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-05-16 15:01:06 +00:00

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 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?