tcllib: use critcl
This commit is contained in:
parent
7e383bf3c2
commit
94cda6b43d
2 changed files with 13 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue