Skip to content

Commit

Permalink
meteor: 1.4.2.3 -> 1.5 (#28905)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabesoft authored and joachifm committed Sep 13, 2017
1 parent 4ffa9ac commit 49eb166
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pkgs/servers/meteor/default.nix
Expand Up @@ -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;

Expand Down
18 changes: 12 additions & 6 deletions pkgs/servers/meteor/main.patch
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 49eb166

Please sign in to comment.