Update iojs to latest version.
This commit is contained in:
parent
22a26e4c32
commit
2e465757f8
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchurl, python, utillinux, openssl, http-parser, zlib, libuv, nightly ? false }:
|
{ stdenv, fetchurl, python, utillinux, openssl, http-parser, zlib, libuv, nightly ? false }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = if nightly then "1.5.2-nightly201503173c8ae2d934" else "1.5.1";
|
version = if nightly then "1.6.5-nightly20150409ff74931107" else "1.6.4";
|
||||||
inherit (stdenv.lib) optional maintainers licenses platforms;
|
inherit (stdenv.lib) optional maintainers licenses platforms;
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "iojs-${version}";
|
name = "iojs-${version}";
|
||||||
|
@ -11,8 +11,8 @@ in stdenv.mkDerivation {
|
||||||
then "https://iojs.org/download/nightly/v${version}/iojs-v${version}.tar.gz"
|
then "https://iojs.org/download/nightly/v${version}/iojs-v${version}.tar.gz"
|
||||||
else "https://iojs.org/dist/v${version}/iojs-v${version}.tar.gz";
|
else "https://iojs.org/dist/v${version}/iojs-v${version}.tar.gz";
|
||||||
sha256 = if nightly
|
sha256 = if nightly
|
||||||
then "10blf1hr80fknrzyrbj7qy2xn7wilnyn6y2r7ijrw2gns4ia3d0h"
|
then "04f7r4iv8p0jfylw4sxg3vsv14rbsi6n9hbqnwvdh6554yrm6d35"
|
||||||
else "0zdxdb9n0yk6dp6j6x3bka7vrnf7kz8jjcpl6fw5fr9f742s9s26";
|
else "1qzvf7g457dppzxn23wppjcm09vh1n6bhsvz5szhwgjvl0iv2pc7";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
|
Loading…
Reference in a new issue