nixpkgs/pkgs/servers/code-server/playwright.patch

11 lines
409 B
Diff
Raw Normal View History

2021-10-30 23:19:46 +01:00
--- ./vendor/modules/code-oss-dev/node_modules/playwright/install.js
+++ ./vendor/modules/code-oss-dev/node_modules/playwright/install.js
2021-01-18 00:03:35 +00:00
@@ -14,6 +14,4 @@
* limitations under the License.
*/
2022-01-10 00:36:05 +00:00
-const { installDefaultBrowsersForNpmInstall } = require('playwright-core/lib/utils/registry');
2021-01-18 00:03:35 +00:00
-
2022-01-10 00:36:05 +00:00
-installDefaultBrowsersForNpmInstall();
2021-01-18 00:03:35 +00:00
+process.stdout.write('Browser install disabled by Nix build script\n');