Skip to content

Commit 49eb166

Browse files
gabesoftjoachifm
authored andcommittedSep 13, 2017
meteor: 1.4.2.3 -> 1.5 (#28905)
1 parent 4ffa9ac commit 49eb166

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed
 

‎pkgs/servers/meteor/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
let
44
bootstrap = fetchurl {
5-
url = "https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.4.2.3/meteor-bootstrap-os.linux.x86_64.tar.gz";
6-
sha256 = "1x5dp8y731qai882ghy3337844lc686r15a4dd9wjx2zvy7wmwhz";
5+
url = "https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.linux.x86_64.tar.gz";
6+
sha256 = "0cwwqv88h1ji7g4zmfz34xsrxkn640wr11ddjq5c6b9ygcljci3p";
77
};
88
in
99

1010
stdenv.mkDerivation rec {
1111
name = "meteor-${version}";
12-
version = "1.4.2.3";
12+
version = "1.5";
1313

1414
dontStrip = true;
1515

‎pkgs/servers/meteor/main.patch

+12-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ diff --git a/tools/cli/main.js b/tools/cli/main.js
22
index 84f94bc..4fbda17 100644
33
--- a/tools/cli/main.js
44
+++ b/tools/cli/main.js
5-
@@ -484,6 +484,45 @@ var springboard = function (rel, options) {
6-
process.exit(ret.wait());
7-
}
5+
@@ -554,6 +554,44 @@
6+
}).await());
7+
} // Now exec; we're not coming back.
88

99
+ // BEGIN HACK
1010
+ // patch shebang:
@@ -44,7 +44,13 @@ index 84f94bc..4fbda17 100644
4444
+ patchelf("mongodb", "bin", "mongo");
4545
+ patchelf("mongodb", "bin", "mongod");
4646
+ // END HACK
47-
+
48-
// Now exec; we're not coming back.
47+
4948
require('kexec')(executable, newArgv);
50-
throw Error('exec failed?');
49+
50+
@@ -1485,4 +1523,4 @@
51+
52+
process.exit(ret);
53+
}).run();
54+
-//# sourceMappingURL=main.js.map
55+
\ No newline at end of file
56+
+//# sourceMappingURL=main.js.map

0 commit comments

Comments
 (0)
Please sign in to comment.