vscode-extensions.esbenp.prettier-vscode: don't block local module (#429239)
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
{
|
||||
jq,
|
||||
lib,
|
||||
moreutils,
|
||||
prettier,
|
||||
vscode-utils,
|
||||
}:
|
||||
|
||||
@@ -14,18 +11,6 @@ vscode-utils.buildVscodeMarketplaceExtension {
|
||||
hash = "sha256-pNjkJhof19cuK0PsXJ/Q/Zb2H7eoIkfXJMLZJ4lDn7k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
moreutils
|
||||
];
|
||||
|
||||
buildInputs = [ prettier ];
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
jq '.contributes.configuration.properties."prettier.prettierPath".default = "${prettier}"' package.json | sponge package.json
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/esbenp.prettier-vscode/changelog";
|
||||
description = "Code formatter using prettier";
|
||||
|
||||
Reference in New Issue
Block a user