Unverified Commit a81cfab9 authored by Gerardo Doro's avatar Gerardo Doro Committed by GitHub
Browse files

openvscode-server: 1.88.1 -> 1.99.3; unbreak

parent 35df7fd7
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -206,16 +206,27 @@ stdenv.mkDerivation (finalAttrs: {
        fi
        exit 0
      ' \;
    ''
    + ''
      runHook postConfigure
    '';

  buildPhase = ''
    runHook preBuild

    npm run gulp vscode-reh-web-${vsBuildTarget}-min

    runHook postBuild
  '';

  installPhase = ''
    runHook preInstall

    mkdir -p $out
    cp -R -T ../vscode-reh-web-${vsBuildTarget} $out
    ln -sf ${nodejs}/bin/node $out

    runHook postInstall
  '';

  passthru.tests = {