vscode-utils/vscodeEnv: add vscodeWithConfiguration, vscodeExts2nix and vscodeEnv
move mktplcExtRefToFetchArgs to file in order to be shared with the new derivations(privately)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
ext:
|
||||
{
|
||||
url = "https://${ext.publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${ext.publisher}/extension/${ext.name}/${ext.version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
|
||||
sha256 = ext.sha256;
|
||||
# The `*.vsix` file is in the end a simple zip file. Change the extension
|
||||
# so that existing `unzip` hooks takes care of the unpacking.
|
||||
name = "${ext.publisher}-${ext.name}.zip";
|
||||
}
|
||||
Reference in New Issue
Block a user