summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-08-21 15:20:28 +0100
committerGitHub <noreply@github.com>2023-08-21 10:20:28 -0400
commit49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563 (patch)
tree4df29a81dd9ea7eb43ce97c1e098105d2028cbc6 /pkgs/tools/typesetting/tex/texlive
parente134c208ae80bba0ccc2311519e6ccabf4c0c91c (diff)
downloadnixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.tar
nixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.tar.gz
nixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.tar.bz2
nixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.tar.lz
nixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.tar.xz
nixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.tar.zst
nixpkgs-49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563.zip
texlive.bin.xpdfopen: init (#250388)
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix13
-rw-r--r--pkgs/tools/typesetting/tex/texlive/default.nix3
2 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
index 8d76e8b16be..dd1822de492 100644
--- a/pkgs/tools/typesetting/tex/texlive/bin.nix
+++ b/pkgs/tools/typesetting/tex/texlive/bin.nix
@@ -473,6 +473,19 @@ xdvi = stdenv.mkDerivation {
   # TODO: it's suspicious that mktexpk generates fonts into ~/.texlive2014
 };
 
+xpdfopen = stdenv.mkDerivation {
+  pname = "texlive-xpdfopen.bin";
+  inherit (lib.head texlive.xpdfopen.pkgs) version;
+
+  inherit (common) src;
+
+  buildInputs = [ libX11 ];
+
+  preConfigure = "cd utils/xpdfopen";
+
+  enableParallelBuilding = true;
+};
+
 } # un-indented
 
 // lib.optionalAttrs (!clisp.meta.broken) # broken on aarch64 and darwin (#20062)
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index 25fa96bb9d2..9839d764adf 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -123,9 +123,6 @@ let
       #### adjustments to binaries
       # TODO patch the scripts from bin.* directly in bin.* instead of here
 
-      # TODO we do not build binaries for the following packages (yet!)
-      xpdfopen.binfiles = [];
-
       # mptopdf is a format link, but not generated by texlinks
       # so we add it back to binfiles to generate it from mkPkgBin
       mptopdf.binfiles = (orig.mptopdf.binfiles or []) ++ [ "mptopdf" ];