3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/code-server/darwin-fsevents.patch

12 lines
491 B
Diff
Raw Normal View History

2021-01-18 00:03:35 +00:00
--- ./lib/vscode/node_modules/fsevents/install.js
+++ ./lib/vscode/node_modules/fsevents/install.js
@@ -1,7 +1,3 @@
if (process.platform === 'darwin') {
- var spawn = require('child_process').spawn;
- var args = ['install', '--fallback-to-build'];
- var options = {stdio: 'inherit'};
- var child = spawn(require.resolve('node-pre-gyp/bin/node-pre-gyp'), args, options);
- child.on('close', process.exit);
+ process.stdout.write('fsevents disabled on Darwin by Nix build script\n')
}