diff options
author | Vincenzo Mantova <xworld21@gmail.com> | 2021-06-14 07:03:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 02:03:10 -0400 |
commit | 2bd51da5982fc7cb0d5d12d5fc6fcea8ae6710bc (patch) | |
tree | c939314aa9d7641cf9c24d1920200891cf711686 /pkgs/tools/typesetting | |
parent | 79329b0b3131cfa7dc4ca61ef54e0693700058c3 (diff) | |
download | nixpkgs-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.nix | 4 |
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; |