Merge pull request #320877 from zeorin/fix-vscode-js-debug-build

vscode-js-debug: fix missing jq in postPatch
This commit is contained in:
superherointj
2024-06-18 20:33:00 -03:00
committed by GitHub
+3 -3
View File
@@ -1,7 +1,7 @@
{ lib
, buildNpmPackage
, fetchFromGitHub
, jq
, buildPackages
, libsecret
, pkg-config
, nodePackages
@@ -23,12 +23,12 @@ buildNpmPackage rec {
npmDepsHash = "sha256-DfeaiqKadTnGzOObK01ctlavwqTMa0tqn59sLZMPvUM=";
nativeBuildInputs = [ pkg-config nodePackages.node-gyp jq ];
nativeBuildInputs = [ pkg-config nodePackages.node-gyp ];
buildInputs = [ libsecret ];
postPatch = ''
jq '
${lib.getExe buildPackages.jq} '
.scripts.postinstall |= empty | # tries to install playwright, not necessary for build
.scripts.build |= "gulp dapDebugServer" | # there is no build script defined
.bin |= "./dist/src/dapDebugServer.js" # there is no bin output defined