eukleides: create pkgs fixpoint for texlive using mkDerivation

This commit is contained in:
Vincenzo Mantova 2023-03-11 20:57:11 +00:00
parent a66723d4bf
commit 6b2b9a0de3

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, bison, flex, makeWrapper, texinfo4, getopt, readline, texlive }:
lib.fix (eukleides: stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: rec {
pname = "eukleides";
version = "1.5.4";
@ -50,7 +50,7 @@ lib.fix (eukleides: stdenv.mkDerivation rec {
outputs = [ "out" "doc" "tex" ];
passthru.tlType = "run";
passthru.pkgs = [ eukleides.tex ]
passthru.pkgs = [ finalAttrs.finalPackage.tex ]
# packages needed by euktoeps, euktopdf and eukleides.sty
++ (with texlive; collection-pstricks.pkgs ++ epstopdf.pkgs ++ iftex.pkgs ++ moreverb.pkgs);