-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
tclPackages: define tcl8Packages and tcl9Packages #433414
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2858,7 +2858,7 @@ with pkgs; | |||||
|
|
||||||
| exiftool = perlPackages.ImageExifTool; | ||||||
|
|
||||||
| expect = tclPackages.expect; | ||||||
| expect = tcl8Packages.expect; | ||||||
|
|
||||||
| Fabric = with python3Packages; toPythonApplication fabric; | ||||||
|
|
||||||
|
|
@@ -6617,10 +6617,21 @@ 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 { }); | ||||||
| tclPackages = tcl8Packages; | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency with the other sets, I think we should either expose the versioned or the unversioned set, not both
Suggested change
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree, but how should How about this? { lib
, tclPackages ? tcl9Packages,
, tcl9Packages
}: null
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure I understand your question.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The question is how should packages outside the scope of a
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I missed the notification ^_^" As far as I can see with other ecosystems we use the unversioned set by default unless the program does not compile with the default version. We can do the same. |
||||||
| tcl8Packages = recurseIntoAttrs ( | ||||||
| callPackage ./tcl-packages.nix { | ||||||
| tcl = tcl-8_6; | ||||||
| tk = tk-8_6; | ||||||
| } | ||||||
| ); | ||||||
| tcl9Packages = recurseIntoAttrs ( | ||||||
| callPackage ./tcl-packages.nix { | ||||||
| tcl = tcl-9_0; | ||||||
| tk = tk-9_0; | ||||||
| } | ||||||
| ); | ||||||
|
|
||||||
| tclreadline = tclPackages.tclreadline; | ||||||
| tclreadline = tcl8Packages.tclreadline; | ||||||
|
|
||||||
| wasm = ocamlPackages.wasm; | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep a comment like this to explain why we don't also have minor versions: