vscode-utils: fix configure and build phase

As it was, it was impossible to implement pre / post hook for those as
their default implementation was not calling the run hook helper
as they should have.
This commit is contained in:
Raymond Gauthier 2021-10-05 01:38:21 -04:00
parent 3a13606ef4
commit 6575fff60f
No known key found for this signature in database
GPG Key ID: 88FBFBAC9B57497A

View File

@ -6,8 +6,14 @@ let
# Same as "Unique Identifier" on the extension's web page.
# For the moment, only serve as unique extension dir.
vscodeExtUniqueId,
configurePhase ? ":",
buildPhase ? ":",
configurePhase ? ''
runHook preConfigure
runHook postConfigure
'',
buildPhase ?''
runHook preBuild
runHook postBuild
'',
dontPatchELF ? true,
dontStrip ? true,
buildInputs ? [],