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

nodePackages.bash-language-server: remove attribute #319882

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

NyCodeGHG
Copy link
Member

@NyCodeGHG NyCodeGHG commented Jun 14, 2024

Description of changes

bash-language-server has been packaged outside of nodePackages in #317954, but not correctly removed from nodePackages.

Closes #319871

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@NyCodeGHG
Copy link
Member Author

@doronbehar i just saw the old bash-language-server had shellcheck in its path, we probably should keep it that way

@calebstewart
Copy link
Contributor

I can confirm that this now builds for me with:

$ nix-shell -p nodePackages.bash-language-server -I nixpkgs='https://github.com/NyCodeGHG/nixpkgs/archive/1933c5e9e475eef4cab3e05e2368043a29980a9c.zip'

Thank you for the quick fix :)

@GaetanLepage
Copy link
Contributor

Result of nixpkgs-review pr 319882 run on x86_64-linux 1

1 package built:
  • bash-language-server

@GaetanLepage
Copy link
Contributor

Result of nixpkgs-review pr 319882 run on aarch64-linux 1

1 package built:
  • bash-language-server

bash-language-server has been packaged outside of nodePackages in NixOS#317954, but not correctly removed from nodePackages.
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you !

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jun 14, 2024
@nixos-discourse
Copy link

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

https://discourse.nixos.org/t/error-alias-bash-language-server-is-still-in-node-packages-nix/47027/2

@SuperSandro2000 SuperSandro2000 merged commit 5e9fc51 into NixOS:master Jun 14, 2024
23 of 25 checks passed
@NyCodeGHG NyCodeGHG deleted the bash-breakage branch June 14, 2024 22:22
@doronbehar
Copy link
Contributor

Sorry for the breakage and thanks for the quick fix 🙏 . I thought that only node-packages.json needs to be edited and the automatic updater will take care of the rest.

robbins added a commit to robbins/dots that referenced this pull request Jun 15, 2024
robbins added a commit to robbins/dots that referenced this pull request Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure: nodePackages.bash-language-server
7 participants