nixpkgs-suyu/pkgs/servers/code-server/playwright.patch
Pol Dellaiera 1a57f50d95
Revert "code-server: drop"
This reverts commit 72911a99d3.
2023-12-19 15:40:57 +01:00

10 lines
409 B
Diff

--- ./vendor/modules/code-oss-dev/node_modules/playwright/install.js
+++ ./vendor/modules/code-oss-dev/node_modules/playwright/install.js
@@ -14,6 +14,4 @@
* limitations under the License.
*/
-const { installDefaultBrowsersForNpmInstall } = require('playwright-core/lib/utils/registry');
-
-installDefaultBrowsersForNpmInstall();
+process.stdout.write('Browser install disabled by Nix build script\n');