-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple directories #31
Comments
Found a workaround: (asf.apache-netbeans-java.overrideAttrs (_: { sourceRoot = "extension"; })) |
We fetch extensions as |
This much I figured out, indeed it was where I took this I'll look into it and hopefully come back with a pull request. |
@jacekszymanski, I found a way to provide overrides. See https://github.com/nix-community/nix-vscode-extensions#special-extensions |
Great! So I think I can close this issue now 👍 |
@jacekszymanski, please, check that it works. I have a quite slow Internet connection and can't UPD: it finally worked! |
Yes, I can confirm it works. |
Extension # Version 1.17.14 (succeeds)
nix build github:nix-community/nix-vscode-extensions/856a8c1902513fa72f86963bd9f3c9238828c23a#extensions.x86_64-linux.vscode-marketplace.ms-vscode.cmake-tools
# Version 1.17.15 (fails)
nix build github:nix-community/nix-vscode-extensions/f495145caabb9a3b5bb3ae2815a66db1c3fbe31d#extensions.x86_64-linux.vscode-marketplace.ms-vscode.cmake-tools Since 1.17.15, the .vsix contains additional The workaround described in #31 (comment) works, but considering that .vsix files have a fixed structure, I thought, "Why not just set |
I'm not sure whether the extension directory must be named From what I remember the .vsix has a manifest file that points at a |
Hmm, no, truthfully I just assumed. I used |
The Netbeans extension (
asf.apache-netbeans-java
), possibly others, have multiple directories in the zipfile, and this causes the build to fail:The text was updated successfully, but these errors were encountered: