vscode-extensions.mads-hartmann.bash-ide-vscode: set the default value of executable configs

This commit is contained in:
n0099
2026-02-17 01:32:23 +00:00
parent a399724147
commit 6eb889fab9
2 changed files with 33 additions and 12 deletions
@@ -2879,18 +2879,7 @@ let
};
};
mads-hartmann.bash-ide-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "mads-hartmann";
name = "bash-ide-vscode";
version = "1.43.0";
hash = "sha256-IpJCzoYZ+L39HqBts487E00RfVnZhLa9wUYs2FIV9pQ=";
};
meta = {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.kamadorueda ];
};
};
mads-hartmann.bash-ide-vscode = callPackage ./mads-hartmann.bash-ide-vscode { };
marp-team.marp-vscode = buildVscodeMarketplaceExtension {
mktplcRef = {
@@ -0,0 +1,32 @@
{
lib,
vscode-utils,
jq,
moreutils,
shfmt,
shellcheck,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "mads-hartmann";
name = "bash-ide-vscode";
version = "1.43.0";
hash = "sha256-IpJCzoYZ+L39HqBts487E00RfVnZhLa9wUYs2FIV9pQ=";
};
nativeBuildInputs = [
jq
moreutils
];
postInstall = ''
cd "$out/$installPrefix"
jq -e '
.contributes.configuration.properties."bashIde.shellcheckPath".default = "${lib.getExe shellcheck}" |
.contributes.configuration.properties."bashIde.shfmt.path".default = "${lib.getExe shfmt}"
' package.json | sponge package.json
'';
meta = {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.kamadorueda ];
};
}