summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/tcl-packages.nix
blob: 53646d3d61ea3403b703c38a83a0ab48e03a8893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
let
  autoCalledPackages = import ./by-name-overlay.nix ../development/tcl-modules/by-name;
in

{
  lib,
  newScope,
  tcl,
  tk,
  pkgs,
}:

lib.makeScope newScope (
  lib.extends autoCalledPackages (self: {
    inherit tcl tk;
    inherit (tcl) mkTclDerivation tclPackageHook;

    critcl = self.callPackage ../development/tcl-modules/critcl {
      tcllib = self.tcllib.override { withCritcl = false; };
    };

    dbus = self.callPackage ../development/tcl-modules/dbus {
      inherit (pkgs) dbus;
    };
  })
)