noweb: create pkgs fixpoint for texlive using mkDerivation

This commit is contained in:
Vincenzo Mantova 2023-03-11 20:57:15 +00:00
parent 2f7daea603
commit 4319e1ceb2

View file

@ -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";