File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
pkgs/applications/editors/vscode/extensions/charliermarsh.ruff Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 33 lib ,
44 vscode-utils ,
55 ruff ,
6+ vscode-extensions-update-script ,
67} :
78
89vscode-utils . buildVscodeMarketplaceExtension {
@@ -32,7 +33,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
3233 publisher = "charliermarsh" ;
3334 version = "2025.14.0" ;
3435 }
35- // sources . ${ stdenvNoCC . system } or ( throw "Unsupported system ${ stdenvNoCC . system } " ) ;
36+ // sources . ${ stdenvNoCC . hostPlatform . system }
37+ or ( throw "Unsupported system ${ stdenvNoCC . hostPlatform . system } " ) ;
3638
3739 postInstall = ''
3840 test -x "$out/$installPrefix/bundled/libs/bin/ruff" || {
@@ -43,12 +45,20 @@ vscode-utils.buildVscodeMarketplaceExtension {
4345 ln -sf ${ lib . getExe ruff } "$out/$installPrefix/bundled/libs/bin/ruff"
4446 '' ;
4547
48+ passthru . updateScript = vscode-extensions-update-script { extraArgs = [ "--platforms" ] ; } ;
49+
4650 meta = {
4751 license = lib . licenses . mit ;
4852 changelog = "https://marketplace.visualstudio.com/items/charliermarsh.ruff/changelog" ;
4953 description = "Visual Studio Code extension with support for the Ruff linter" ;
5054 downloadPage = "https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff" ;
5155 homepage = "https://github.com/astral-sh/ruff-vscode" ;
56+ platforms = [
57+ "aarch64-linux"
58+ "aarch64-darwin"
59+ "x86_64-linux"
60+ "x86_64-darwin"
61+ ] ;
5262 maintainers = [ lib . maintainers . azd325 ] ;
5363 } ;
5464}
You can’t perform that action at this time.
0 commit comments