about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorGabriel Adomnicai <gabesoft@gmail.com>2017-05-25 23:41:42 -0700
committerGabriel Adomnicai <gabesoft@gmail.com>2017-07-09 09:15:33 -0700
commitbc7c311c4d0cedfe76883f6923cfbb828500485e (patch)
tree2e2beb1fd07873e73f08585e92a59a821e220592 /pkgs/servers
parent466e7e23c6f71ebed7050802d377102002fc2a0d (diff)
downloadnixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.tar
nixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.tar.gz
nixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.tar.bz2
nixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.tar.lz
nixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.tar.xz
nixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.tar.zst
nixlib-bc7c311c4d0cedfe76883f6923cfbb828500485e.zip
Fixed meteor Future is not defined error
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/meteor/main.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/meteor/main.patch b/pkgs/servers/meteor/main.patch
index b5834bf62922..4c21a29a05c4 100644
--- a/pkgs/servers/meteor/main.patch
+++ b/pkgs/servers/meteor/main.patch
@@ -2,7 +2,7 @@ diff --git a/tools/cli/main.js b/tools/cli/main.js
 index 84f94bc..4fbda17 100644
 --- a/tools/cli/main.js
 +++ b/tools/cli/main.js
-@@ -484,6 +484,44 @@ var springboard = function (rel, options) {
+@@ -484,6 +484,45 @@ var springboard = function (rel, options) {
      process.exit(ret.wait());
    }
  
@@ -10,6 +10,7 @@ index 84f94bc..4fbda17 100644
 +  // patch shebang:
 +  var fs = require('fs');
 +  var path = require("path")
++  var Future = require("fibers/future")
 +  var srcOld = fs.readFileSync(executable, 'utf8');
 +  srcNew = srcOld.replace(/^#!\/bin\/bash/, '#!/bin/sh');
 +  if (srcOld !== srcNew) {