-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This generic interface allows the addition of texlive-2023 without repeating too much code or case distinctions TODO: rename default.nix -> generic.nix, stable.nix -> default.nix This will be done later as this makes rebasing a lot harder
- Loading branch information
1 parent
2379bc3
commit d3ffe62
Showing
4 changed files
with
50 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ callPackage, lib, fetchurl, useFixedHashes ? true, fetchpatch }: | ||
lib.makeOverridable callPackage ./. rec { | ||
version = { | ||
texliveYear = 2022; | ||
final = true; | ||
}; | ||
|
||
mirrors = with version; [ | ||
# tlnet-final snapshot; used when texlive.tlpdb is frozen | ||
# the TeX Live yearly freeze typically happens in mid-March | ||
"http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/${toString texliveYear}/tlnet-final" | ||
"ftp://tug.org/texlive/historic/${toString texliveYear}/tlnet-final" | ||
# mostly just kept to prevent rebuilds :) | ||
"https://texlive.info/tlnet-archive/2023/03/19/tlnet" | ||
]; | ||
|
||
src = with version; fetchurl { | ||
urls = [ | ||
"http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/${toString texliveYear}/texlive-${toString texliveYear}0321-source.tar.xz" | ||
"ftp://tug.ctan.org/pub/tex/historic/systems/texlive/${toString texliveYear}/texlive-${toString texliveYear}0321-source.tar.xz" | ||
]; | ||
hash = "sha256-X/o0heUessRJBJZFD8abnXvXy55TNX2S20vNT9YXm1Y="; | ||
}; | ||
|
||
tlpdb = import ./tlpdb.nix; | ||
tlpdbxzHash = "sha256-vm7DmkH/h183pN+qt1p1wZ6peT2TcMk/ae0nCXsCoMw="; | ||
|
||
fixedHashes = lib.optionalAttrs useFixedHashes (import ./fixed-hashes.nix); | ||
inherit useFixedHashes; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters