Home Explore Blog Models CI



nixpkgs

1st chunk of `pkgs/development/tcl-modules/by-name/README.md`
18f17354ebc5c3c96e86f34b72039e2d49ef900eb694e1210000000100000146
# Name-based Tcl package directories

The structure of this directory is identical to the one described in
[/pkgs/by-name/README.md](../../../by-name/README.md).
The only difference is the scope:

```nix
{
  lib,
  # You can get tclPackages attributes directly
  mkTclDerivation,
  tcllib,
}:

mkTclDerivation {
  # ...
}
```

Title: Name-based Tcl Package Directories
Summary
This document describes the structure of name-based Tcl package directories, noting it is identical to the one detailed in `/pkgs/by-name/README.md`. The primary difference is its scope, as illustrated by a Nix code snippet showing how to use `mkTclDerivation` and access attributes like `lib` and `tcllib` within this directory structure.