mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
tclPackages: init
This commit is contained in:
parent
f8e0816e19
commit
1009ec8796
9
.github/labeler.yml
vendored
9
.github/labeler.yml
vendored
@ -340,6 +340,15 @@
|
||||
- pkgs/os-specific/linux/systemd/**/*
|
||||
- nixos/modules/system/boot/systemd*/**/*
|
||||
|
||||
"6.topic: tcl":
|
||||
- any:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- doc/languages-frameworks/tcl.section.md
|
||||
- pkgs/development/interpreters/tcl/*
|
||||
- pkgs/development/tcl-modules/**/*
|
||||
- pkgs/top-level/tcl-packages.nix
|
||||
|
||||
"6.topic: TeX":
|
||||
- any:
|
||||
- changed-files:
|
||||
|
@ -177,6 +177,12 @@ nixos/modules/installer/tools/nix-fallback-paths.nix @NixOS/nix-team @raitobeza
|
||||
/pkgs/build-support/rust @zowoq @winterqt @figsoda
|
||||
/doc/languages-frameworks/rust.section.md @zowoq @winterqt @figsoda
|
||||
|
||||
# Tcl
|
||||
/pkgs/development/interpreters/tcl @fgaz
|
||||
/pkgs/development/libraries/tk @fgaz
|
||||
/pkgs/top-level/tcl-packages.nix @fgaz
|
||||
/pkgs/development/tcl-modules @fgaz
|
||||
|
||||
# C compilers
|
||||
/pkgs/development/compilers/gcc
|
||||
/pkgs/development/compilers/llvm @alyssais @RossComputerGuy @NixOS/llvm
|
||||
|
17
pkgs/development/tcl-modules/by-name/README.md
Normal file
17
pkgs/development/tcl-modules/by-name/README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 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 {
|
||||
# ...
|
||||
}
|
||||
```
|
@ -16614,6 +16614,9 @@ with pkgs;
|
||||
tcl-8_6 = callPackage ../development/interpreters/tcl/8.6.nix { };
|
||||
tcl-9_0 = callPackage ../development/interpreters/tcl/9.0.nix { };
|
||||
|
||||
# We don't need versioned package sets thanks to the tcl stubs mechanism
|
||||
tclPackages = recurseIntoAttrs (callPackage ./tcl-packages.nix {});
|
||||
|
||||
tclreadline = callPackage ../development/interpreters/tclreadline { };
|
||||
|
||||
eltclsh = callPackage ../development/tools/eltclsh { };
|
||||
|
18
pkgs/top-level/tcl-packages.nix
Normal file
18
pkgs/top-level/tcl-packages.nix
Normal file
@ -0,0 +1,18 @@
|
||||
let
|
||||
autoCalledPackages = import ./by-name-overlay.nix ../development/tcl-modules/by-name;
|
||||
in
|
||||
|
||||
{
|
||||
lib,
|
||||
newScope,
|
||||
tcl,
|
||||
tk,
|
||||
}:
|
||||
|
||||
lib.makeScope newScope (
|
||||
lib.extends autoCalledPackages (self: {
|
||||
inherit tcl tk;
|
||||
inherit (tcl) mkTclDerivation tclPackageHook;
|
||||
|
||||
})
|
||||
)
|
Loading…
Reference in New Issue
Block a user