meteor: 1.4.2.3 -> 1.5 (#28905)

This commit is contained in:
Gabriel Adomnicai 2017-09-13 12:35:36 -07:00 committed by Joachim F
parent 4ffa9ace43
commit 49eb1664d8
2 changed files with 15 additions and 9 deletions

View File

@ -2,14 +2,14 @@
let
bootstrap = fetchurl {
url = "https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.4.2.3/meteor-bootstrap-os.linux.x86_64.tar.gz";
sha256 = "1x5dp8y731qai882ghy3337844lc686r15a4dd9wjx2zvy7wmwhz";
url = "https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.linux.x86_64.tar.gz";
sha256 = "0cwwqv88h1ji7g4zmfz34xsrxkn640wr11ddjq5c6b9ygcljci3p";
};
in
stdenv.mkDerivation rec {
name = "meteor-${version}";
version = "1.4.2.3";
version = "1.5";
dontStrip = true;

View File

@ -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