diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-09-23 14:45:34 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-09-26 01:17:10 +0200 |
commit | ffec356a29a58d97ec34e1152aa3136e78471dc6 (patch) | |
tree | dc32ba86eeca760405973d5e3d429b1c9e5e64fc | |
parent | 6a0427af6cc3d52c0efc09262e90c1858ae6f40e (diff) | |
download | patches-ffec356a29a58d97ec34e1152aa3136e78471dc6.tar patches-ffec356a29a58d97ec34e1152aa3136e78471dc6.tar.gz |
gnu: node: Build against libuv@1.19.
* gnu/packages/libevent.scm (libuv-1.19): New public variable.
* gnu/packages/node.scm (node)[inputs]: Change LIBUV to LIBUV-1.19.
-rw-r--r-- | gnu/packages/libevent.scm | 13 | ||||
-rw-r--r-- | gnu/packages/node.scm | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm index bc7f6c670d..2de29707ca 100644 --- a/gnu/packages/libevent.scm +++ b/gnu/packages/libevent.scm @@ -152,6 +152,19 @@ resolution, asynchronous file system operations, and threading primitives.") ;; details. Documentation is CC-BY 4.0 as of 1.12.0; see 'LICENSE-docs'. (license (list expat cc-by4.0)))) +;; This version is required for Node versions < 10. +(define-public libuv-1.19 + (package + (inherit libuv) + (version "1.19.2") + (source (origin + (method url-fetch) + (uri (string-append "https://dist.libuv.org/dist/v" version + "/libuv-v" version ".tar.gz")) + (sha256 + (base32 + "1msk9ac1z69whww88ibrwjqkd1apdla6l77cm2fwy5kigq0z5g3w")))))) + (define-public perl-anyevent (package (name "perl-anyevent") diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index b525804bdb..a0221601dd 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -184,7 +184,7 @@ `(("c-ares" ,c-ares) ("http-parser" ,http-parser) ("icu4c" ,icu4c) - ("libuv" ,libuv) + ("libuv" ,libuv-1.19) ("nghttp2" ,nghttp2 "lib") ("openssl" ,openssl) ("zlib" ,zlib))) |