Loading .github/labeler.yml +9 −0 Original line number Diff line number Diff line Loading @@ -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: Loading ci/OWNERS +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading pkgs/development/tcl-modules/by-name/README.md 0 → 100644 +17 −0 Original line number Diff line number Diff line # 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 { # ... } ``` pkgs/top-level/all-packages.nix +3 −0 Original line number Diff line number Diff line Loading @@ -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 { }; pkgs/top-level/tcl-packages.nix 0 → 100644 +18 −0 Original line number Diff line number Diff line 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
.github/labeler.yml +9 −0 Original line number Diff line number Diff line Loading @@ -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: Loading
ci/OWNERS +6 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
pkgs/development/tcl-modules/by-name/README.md 0 → 100644 +17 −0 Original line number Diff line number Diff line # 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 { # ... } ```
pkgs/top-level/all-packages.nix +3 −0 Original line number Diff line number Diff line Loading @@ -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 { };
pkgs/top-level/tcl-packages.nix 0 → 100644 +18 −0 Original line number Diff line number Diff line 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; }) )