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);