-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
autotools-language-server: init at 0.0.19 #316901
autotools-language-server: init at 0.0.19 #316901
Conversation
03ddbf0
to
2d5ed1c
Compare
Thanks for the review! |
2d5ed1c
to
710f407
Compare
pkgs/development/python-modules/tree-sitter-languages/default.nix
Outdated
Show resolved
Hide resolved
pkgs/development/python-modules/tree-sitter-languages/default.nix
Outdated
Show resolved
Hide resolved
710f407
to
306018c
Compare
@@ -15402,6 +15404,20 @@ self: super: with self; { | |||
|
|||
tree-sitter = callPackage ../development/python-modules/tree-sitter { }; | |||
|
|||
tree-sitter0_21 = callPackage ../development/python-modules/tree-sitter0_21 { }; |
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.
I know this is a bit late, but why are you copying and pasting the file instead of using overrideAttrs and just modifying the original package, that would make this a lot more maintainable and would ensure that the two versions nix expressions don't diverge from each other?
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.
I know this is a bit late, but why are you copying and pasting the file instead of using overrideAttrs and just modifying the original package, that would make this a lot more maintainable and would ensure that the two versions nix expressions don't diverge from each other?
The argument to make the expressions different is exactly related to the potential divergence: I anticipate that in the future the two expressions will keep on diverging and diverging, especially since the developers of tree-sitter
don't officially support this outdated 0.21
version.
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.
I guess you should at least make yourself the maintainer rather then fabaff. I also don't know how to feel about keeping the older version alive, I guess it's fine as long as their is still upstream support, but once upstream drops support we kinda wann drop it as well I think.
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.
I guess you should at least make yourself the maintainer rather then fabaff. I also don't know how to feel about keeping the older version alive, I guess it's fine as long as their is still upstream support, but once upstream drops support we kinda wann drop it as well I think.
You are correct, this is not ideal, but this is related to the choice of python3.pkgs.tree-sitter-languages
v.s python3.pkgs.tree-sitter-make
. The later is not packaged in Nixpkgs yet, and for a good reason and the former has this issue with the latest version of python3.pkgs.tree-sitter
.
TBH only now I managed to explain it good enough :) The situation perhaps should have been explained in some comments.
Motivation for this change
Numerous other Python updates, and this new package.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes