From 1b946574af66960ad78c9f5d12f9b6ccb21ace02 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 9 Aug 2019 20:51:02 +0200 Subject: [PATCH] meteor: 1.5 -> 1.8.1 --- pkgs/servers/meteor/default.nix | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pkgs/servers/meteor/default.nix b/pkgs/servers/meteor/default.nix index b677b6080d1f..d367bcfd2e31 100644 --- a/pkgs/servers/meteor/default.nix +++ b/pkgs/servers/meteor/default.nix @@ -1,22 +1,20 @@ { stdenv, lib, fetchurl, zlib, patchelf, runtimeShell }: let - bootstrap = fetchurl { - url = "https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.linux.x86_64.tar.gz"; - sha256 = "0cwwqv88h1ji7g4zmfz34xsrxkn640wr11ddjq5c6b9ygcljci3p"; - }; + version = "1.8.1"; in stdenv.mkDerivation rec { - name = "meteor-${version}"; - version = "1.5"; + inherit version; + pname = "meteor"; + src = fetchurl { + url = "https://static-meteor.netdna-ssl.com/packages-bootstrap/${version}/meteor-bootstrap-os.linux.x86_64.tar.gz"; + sha256 = "1ql58j2d1pqhzpj7c9a6zrpmxxfmlgx743q7lw7g35vz2mpq34c6"; + }; - dontStrip = true; + #dontStrip = true; - unpackPhase = '' - tar xf ${bootstrap} - sourceRoot=.meteor - ''; + sourceRoot = ".meteor"; installPhase = '' mkdir $out @@ -25,7 +23,6 @@ stdenv.mkDerivation rec { chmod -R +w $out/packages cp -r package-metadata $out - chmod -R +w $out/package-metadata devBundle=$(find $out/packages/meteor-tool -name dev_bundle) ln -s $devBundle $out/dev_bundle