Home Explore Blog Models CI



nixpkgs

pkgs/development/tcl-modules/by-name/README.md
cb47c1ff8d0b180eb9da172a09ef8ec12419b9fa26415cd30000000300000146
# 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 {
  # ...
}
```

Chunks
18f17354 (1st chunk of `pkgs/development/tcl-modules/by-name/README.md`)
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.