0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

texlive: set allowSubstitutes, preferLocalBuild values (#312049)

This commit is contained in:
Vincenzo Mantova 2024-05-20 03:01:47 +01:00 committed by GitHub
parent e8c23325af
commit f72f67152a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -308,6 +308,9 @@ buildEnv' {
postBuild = ''
. "${./build-tex-env.sh}"
'';
allowSubstitutes = true;
preferLocalBuild = false;
};
# outputsToInstall must be set *after* overrideAttrs (used in buildEnv') or it fails the checkMeta tests
in if __combine || __formatsOf != null then out else lib.addMetaAttrs { inherit (pkgList) outputsToInstall; } out)