From 6b2b9a0de3f6d740d141ae3ffdf2a25ad598adf1 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> Date: Sat, 11 Mar 2023 20:57:11 +0000 Subject: [PATCH] eukleides: create pkgs fixpoint for texlive using mkDerivation --- pkgs/applications/science/math/eukleides/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/math/eukleides/default.nix b/pkgs/applications/science/math/eukleides/default.nix index 42e17c70673e..cdfb3fdddefa 100644 --- a/pkgs/applications/science/math/eukleides/default.nix +++ b/pkgs/applications/science/math/eukleides/default.nix @@ -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);