build: use working texlive mirror
This commit is contained in:
parent
329834c0f7
commit
2f6bcb19b8
2 changed files with 43 additions and 6 deletions
22
shell.nix
22
shell.nix
|
@ -1,12 +1,22 @@
|
|||
let
|
||||
nixpkgs = import <nixpkgs> {};
|
||||
pkgsSrc = nixpkgs.pkgs.fetchFromGitHub {
|
||||
owner = "nixos";
|
||||
repo = "nixpkgs-channels";
|
||||
rev = "b0d07aa894007a52466b06eced06c1eee469ee1c";
|
||||
sha256 = "0cnwy3ivjz8z8jd5vvx4m5v76vzwq9hh7vh6gah83x47ggipk7ii";
|
||||
patchedPkgsSrc = nixpkgs.stdenv.mkDerivation {
|
||||
name = "patchedPkgsSrc";
|
||||
src = nixpkgs.pkgs.fetchFromGitHub {
|
||||
owner = "nixos";
|
||||
repo = "nixpkgs-channels";
|
||||
rev = "81fceb255448415e70b9e7775d590b6def45f861";
|
||||
sha256 = "0sfx21b9rb6qxjm7li3krk6ik0xxph1il7r5l69n8b9agp72yjfx";
|
||||
};
|
||||
patches = [ ./build/texlive-url-mirror.patch ];
|
||||
buildPhase = "";
|
||||
installPhase = ''
|
||||
cp -a . $out
|
||||
'';
|
||||
fixupPhase = "true";
|
||||
postFixup = "true";
|
||||
};
|
||||
pkgs = import pkgsSrc {};
|
||||
pkgs = import patchedPkgsSrc {};
|
||||
|
||||
mytexlive = (pkgs.texlive.combine {
|
||||
inherit (pkgs.texlive) scheme-full;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue