From 4319e1ceb24d014b125f05e18f6a4bccec792e87 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> Date: Sat, 11 Mar 2023 20:57:15 +0000 Subject: [PATCH] noweb: create pkgs fixpoint for texlive using mkDerivation --- .../tools/literate-programming/noweb/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/literate-programming/noweb/default.nix b/pkgs/development/tools/literate-programming/noweb/default.nix index 6847aff097c8..4add6e5bae3a 100644 --- a/pkgs/development/tools/literate-programming/noweb/default.nix +++ b/pkgs/development/tools/literate-programming/noweb/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, nawk, groff, icon-lang, useIcon ? true }: -lib.fix (noweb: stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: rec { pname = "noweb"; version = "2.12"; @@ -70,8 +70,10 @@ lib.fix (noweb: stdenv.mkDerivation rec { outputs = [ "out" "tex" ]; - tlType = "run"; - passthru.pkgs = [ noweb.tex ]; + passthru = { + tlType = "run"; + pkgs = [ finalAttrs.finalPackage.tex ]; + }; meta = with lib; { description = "A simple, extensible literate-programming tool";