vscode-extensions.foxundermoon.shell-format: add missing dependency

This commit is contained in:
kilimnik
2022-09-28 10:58:15 +02:00
parent 561544ebf3
commit ddc312247b
@@ -18,6 +18,7 @@
, clojure-lsp
, alejandra
, millet
, shfmt
}:
let
@@ -1088,6 +1089,14 @@ let
version = "7.1.0";
sha256 = "09z72mdr5bfdcb67xyzlv7lb9vyjlc3k9ackj4jgixfk40c68cnj";
};
nativeBuildInputs = [ jq moreutils ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."shellformat.path".default = "${shfmt}/bin/shfmt"' package.json | sponge package.json
'';
meta = with lib; {
downloadPage = "https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format";
homepage = "https://github.com/foxundermoon/vs-shell-format";