Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tclPackages: init (draft) #235614

Closed
wants to merge 2 commits into from
Closed

tclPackages: init (draft) #235614

wants to merge 2 commits into from

Conversation

infinisil
Copy link
Member

Motivated by this being requested on Discourse by @nat-418, this is a draft of how TCL packages could be handled.

Supported is:

  • A tclPackages attribute containing the packages for the default tcl version, these attributes are built by Hydra and findable from nix search and co.
  • tcl.pkgs, tcl-8_5.pkgs, tcl-8_6.pkgs containing package sets for the respective tcl version
  • A tcl package scope, with a callPackage always passing the correct version of tcl, tclPackages, mkTclDerivation and all tcl packages attributes themselves.
  • Ability to extend these package sets using .overrideScope' (self: super: { ... })
  • Ability to extend every package set at once using config.tclPackagesExtensions = [ (self: super: { ... }) ]
  • A directory pkgs/development/tcl-modules to group together tcl packages

@nat-418: I have no intention of pushing this PR over the finish line, but feel free to use the commits from this PR as a base for your own PR. At least some tests and documentation is still needed before this could be mergeable.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/a-tcl-package-set/28071/9

@infinisil infinisil closed this Dec 21, 2023
@infinisil infinisil deleted the tcl-pkgs branch December 21, 2023 03:19
@fgaz fgaz mentioned this pull request Sep 26, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants