diff options
author | Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> | 2023-03-11 20:57:15 +0000 |
---|---|---|
committer | Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> | 2023-04-02 13:00:46 +0100 |
commit | 2020863f242ecdd0c6bf271da24a07f73fe18492 (patch) | |
tree | 804fb2174f49cd01f265b89adf2e3f68060fdbb5 /pkgs/misc/sagetex | |
parent | 4319e1ceb24d014b125f05e18f6a4bccec792e87 (diff) |
sagetex: create pkgs fixpoint for texlive using mkDerivation
Diffstat (limited to 'pkgs/misc/sagetex')
-rw-r--r-- | pkgs/misc/sagetex/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/misc/sagetex/default.nix b/pkgs/misc/sagetex/default.nix index 510219e51b9c4..0f22158e3eb5f 100644 --- a/pkgs/misc/sagetex/default.nix +++ b/pkgs/misc/sagetex/default.nix @@ -4,10 +4,9 @@ , texlive }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: rec { pname = "sagetex"; version = "3.6.1"; - passthru.tlType = "run"; src = fetchFromGitHub { owner = "sagemath"; @@ -30,6 +29,11 @@ stdenv.mkDerivation rec { cp -va *.sty *.cfg *.def "$path/" ''; + passthru = { + tlType = "run"; + pkgs = [ finalAttrs.finalPackage ]; + }; + meta = with lib; { description = "Embed code, results of computations, and plots from Sage into LaTeX documents"; homepage = "https://github.com/sagemath/sagetex"; @@ -37,4 +41,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ alexnortung ]; platforms = platforms.all; }; -} +}) |