diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-10 03:23:10 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-10 03:23:10 +0100 |
commit | a42220320aaef034d50c097896a15fd45137b2d9 (patch) | |
tree | 48649be8b6bbef2a1d08eddebbfa62dfe7452022 /pkgs/tools/typesetting/tex/texlive | |
parent | 3f616fad02c82853a8e6e3cf8fd3aea95945f70e (diff) | |
download | nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.tar nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.tar.gz nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.tar.bz2 nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.tar.lz nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.tar.xz nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.tar.zst nixpkgs-a42220320aaef034d50c097896a15fd45137b2d9.zip |
texlive.dvisvgm.pkgs: fix build with clang 16
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/bin.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 402c0c247e9..2d7f859c809 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -310,12 +310,21 @@ chktex = stdenv.mkDerivation { }; -dvisvgm = stdenv.mkDerivation rec { +dvisvgm = stdenv.mkDerivation { pname = "texlive-dvisvgm.bin"; inherit version; inherit (common) src; + patches = [ + (fetchpatch { + url = "https://github.com/mgieseki/dvisvgm/commit/629544928877362d0c6d64f20695f7df3073c5eb.patch"; + stripLen = 1; + extraPrefix = "texk/dvisvgm/dvisvgm-src/"; + hash = "sha256-CBCbc/woaFeLw7aBG/kSVYc3a5Q56zbAB64kK6mRy4g="; + }) + ]; + preConfigure = "cd texk/dvisvgm"; configureFlags = common.configureFlags |