about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/code-server/darwin-fsevents.patch
blob: ec8fc68d5f67f3e7a9eebea73a481c10a0d68db3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./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')
 }