summary refs log tree commit diff
path: root/pkgs/servers/meteor/main.patch
diff options
context:
space:
mode:
authorGabriel Adomnicai <gabesoft@gmail.com>2017-09-13 12:35:36 -0700
committerJoachim F <joachifm@users.noreply.github.com>2017-09-13 19:35:36 +0000
commit49eb1664d82a1dd2c42442029524304ddb69a0db (patch)
treec9845fb49784e8aa2efeb61a784d945c5cb1401c /pkgs/servers/meteor/main.patch
parent4ffa9ace43906ebdf89e0fac3cedbdd5b6cb1b58 (diff)
downloadnixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.tar
nixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.tar.gz
nixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.tar.bz2
nixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.tar.lz
nixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.tar.xz
nixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.tar.zst
nixpkgs-49eb1664d82a1dd2c42442029524304ddb69a0db.zip
meteor: 1.4.2.3 -> 1.5 (#28905)
Diffstat (limited to 'pkgs/servers/meteor/main.patch')
-rw-r--r--pkgs/servers/meteor/main.patch18
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/servers/meteor/main.patch b/pkgs/servers/meteor/main.patch
index 4c21a29a05c..3282c91abac 100644
--- a/pkgs/servers/meteor/main.patch
+++ b/pkgs/servers/meteor/main.patch
@@ -2,9 +2,9 @@ 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,45 @@ var springboard = function (rel, options) {
-     process.exit(ret.wait());
-   }
+@@ -554,6 +554,44 @@
+     }).await());
+   } // Now exec; we're not coming back.
  
 +  // BEGIN HACK
 +  // patch shebang:
@@ -44,7 +44,13 @@ index 84f94bc..4fbda17 100644
 +  patchelf("mongodb", "bin", "mongo");
 +  patchelf("mongodb", "bin", "mongod");
 +  // END HACK
-+
-   // Now exec; we're not coming back.
+
    require('kexec')(executable, newArgv);
-   throw Error('exec failed?');
+
+@@ -1485,4 +1523,4 @@
+
+   process.exit(ret);
+ }).run();
+-//# sourceMappingURL=main.js.map
+\ No newline at end of file
++//# sourceMappingURL=main.js.map