summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincenzo Mantova <xworld21@users.sf.net>2021-06-10 09:38:02 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-14 18:52:00 +0000
commit8cb68856a698eed681f2e0065683e0f958fdac9c (patch)
tree8cfaabe31924376f698edfb0f2dcb637e782774c
parentMerge pull request #126824 from NixOS/backport-126812-to-release-21.05 (diff)
downloadnixpkgs-8cb68856a698eed681f2e0065683e0f958fdac9c.tar.gz
texlive: allow substitutes for texlive packages
(cherry picked from commit 0f1e7e09b56cc8d98c5d02b87dd2626be9456d9c)
-rw-r--r--pkgs/tools/typesetting/tex/texlive/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index 4ba42cbce570..ef73ec214996 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -144,8 +144,7 @@ let
// passthru
else runCommand "texlive-${tlName}"
- ( { # lots of derivations, not meant to be cached
- preferLocalBuild = true; allowSubstitutes = false;
+ ( {
inherit passthru;
} // lib.optionalAttrs (fixedHash != null) {
outputHash = fixedHash;