tcllib: use critcl

This commit is contained in:
Francesco Gazzetta 2023-10-06 10:22:47 +02:00
parent 7e383bf3c2
commit 94cda6b43d
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,9 @@
{ lib, fetchurl, tcl }:
{ lib
, fetchurl
, tcl
, critcl
, withCritcl ? true
}:
tcl.mkTclDerivation rec {
pname = "tcllib";
@ -9,6 +14,10 @@ tcl.mkTclDerivation rec {
sha256 = "sha256-RrK7XsgEk2OuAWRa8RvaO9tdsQYp6AfYHRrUbNG+rVA=";
};
nativeBuildInputs = lib.optional withCritcl critcl;
buildFlags = [ "all" ] ++ lib.optional withCritcl "critcl";
meta = {
homepage = "https://core.tcl-lang.org/tcllib/";
description = "Tcl-only library of standard routines for Tcl";

View file

@ -15752,7 +15752,9 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
critcl = callPackage ../development/compilers/critcl { };
critcl = callPackage ../development/compilers/critcl {
tcllib = tcllib.override { withCritcl = false; };
};
inherit (darwin.apple_sdk_11_0.callPackage ../development/compilers/crystal { })
crystal_1_2