776adb5704
Kept the old hacks where they don't break the build in case they things they fix are still relevant. I checked that the upgrade doesn't break: 1) Asymptote and EProver builds. 2) My XeLaTeX demo from configurations/ repository. 3) Some of my own files. The upgrade fixes problems with simultaneous use of 3D and LaTeX labels in Asymptote. Please provide a test that worked previously and is broken now if you need to revert this update or its parts.
26 lines
509 B
Nix
26 lines
509 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lmodern-2.004.1";
|
|
|
|
src = fetchurl {
|
|
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.1.orig.tar.gz;
|
|
sha256 = "1bvlf8p39667q58pvyfzy3yl0mylf0ak96flwp8vj01vqbi3rfaz";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/texmf-dist/
|
|
mkdir -p $out/share/fonts/
|
|
|
|
cp -r ./* $out/texmf-dist/
|
|
cp -r fonts/{opentype,type1} $out/share/fonts/
|
|
|
|
ln -s $out/texmf* $out/share/
|
|
'';
|
|
|
|
meta = {
|
|
description = "Latin Modern font";
|
|
};
|
|
}
|
|
|