Skip to content

Commit

Permalink
Merge pull request #319882 from NyCodeGHG/bash-breakage
Browse files Browse the repository at this point in the history
nodePackages.bash-language-server: remove attribute
  • Loading branch information
SuperSandro2000 authored Jun 14, 2024
2 parents 9906233 + 91a7822 commit 5e9fc51
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 64 deletions.
2 changes: 2 additions & 0 deletions pkgs/by-name/ba/bash-language-server/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, nodejs
, npmHooks
, makeBinaryWrapper
, shellcheck
}:

stdenv.mkDerivation (finalAttrs: {
Expand Down Expand Up @@ -56,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
# Create the executable, based upon what happens in npmHooks.npmInstallHook
makeWrapper ${lib.getExe nodejs} $out/bin/bash-language-server \
--prefix PATH : ${lib.makeBinPath [ shellcheck ]} \
--inherit-argv0 \
--add-flags $out/lib/bash-language-server/out/cli.js
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/node-packages/main-programs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"@webassemblyjs/wasm-text-gen-1.11.1" = "wasmgen";
"@webassemblyjs/wast-refmt-1.11.1" = "wast-refmt";
aws-cdk = "cdk";
bash-language-server = "bash-language-server";
cdk8s-cli = "cdk8s";
cdktf-cli = "cdktf";
clipboard-cli = "clipboard";
Expand Down
55 changes: 0 additions & 55 deletions pkgs/development/node-packages/node-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions pkgs/development/node-packages/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ final: prev: {
};
};

bash-language-server = prev.bash-language-server.override {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/bash-language-server" \
--prefix PATH : ${lib.makeBinPath [ pkgs.shellcheck ]}
'';
};

bower2nix = prev.bower2nix.override {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
Expand Down

0 comments on commit 5e9fc51

Please sign in to comment.