mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #289721 from FraGag/vscode-extension-sourceroot
vscode-utils: Set the sourceRoot attribute on vscode extensions
This commit is contained in:
commit
004258bf15
@ -32,6 +32,10 @@ let
|
||||
|
||||
inherit configurePhase buildPhase dontPatchELF dontStrip;
|
||||
|
||||
# Some .vsix files contain other directories (e.g., `package`) that we don't use.
|
||||
# If other directories are present but `sourceRoot` is unset, the unpacker phase fails.
|
||||
sourceRoot = "extension";
|
||||
|
||||
installPrefix = "share/vscode/extensions/${vscodeExtUniqueId}";
|
||||
|
||||
nativeBuildInputs = [ unzip ] ++ nativeBuildInputs;
|
||||
|
Loading…
Reference in New Issue
Block a user