summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorVincenzo Mantova <xworld21@gmail.com>2021-06-14 07:03:10 +0100
committerGitHub <noreply@github.com>2021-06-14 02:03:10 -0400
commit2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc (patch)
treec939314aa9d7641cf9c24d1920200891cf711686 /pkgs/tools/typesetting
parent79329b0b3131cfa7dc4ca61ef54e0693700058c3 (diff)
downloadnixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.tar
nixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.tar.gz
nixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.tar.bz2
nixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.tar.lz
nixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.tar.xz
nixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.tar.zst
nixpkgs-2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc.zip
texlive: allow substitutes for texlive packages (#126458)
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index 4ba42cbce57..f7bd02d8af5 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -131,6 +131,7 @@ let
 
     in if sha512 == "" then
       # hash stripped from pkgs.nix to save space -> fetch&unpack in a single step
+      # currently unused as we prefer to keep the sha512 hashes for reproducibility
       fetchurl {
         inherit urls;
         sha1 = if fixedHash == null then throw "TeX Live package ${tlName} is missing hash!"
@@ -144,8 +145,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;