1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/servers/code-server/darwin-fsevents.patch
2021-01-27 09:15:00 -08:00

12 lines
491 B
Diff

--- ./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')
}