all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH v2] gnu: node: Update to 6.3.1.
@ 2016-08-05 11:02 Jelle Licht
  2016-08-07  3:00 ` Leo Famulari
  0 siblings, 1 reply; 19+ messages in thread
From: Jelle Licht @ 2016-08-05 11:02 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/node.scm (node): Update to 6.3.1.
---
 gnu/packages/node.scm | 32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 887ef93..4c98799 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -37,14 +37,14 @@
 (define-public node
   (package
     (name "node")
-    (version "6.0.0")
+    (version "6.3.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://nodejs.org/dist/v" version
                                   "/node-v" version ".tar.gz"))
               (sha256
                (base32
-                "0cpw7ng193jgfbw2g1fd0kcglmjjkbj4xb89g00z8zz0lj0nvdbd"))))
+                "1xh883fbhyhgna1vi8xmd6klg4r186lb1h1xr08hn89wy7f48q9z"))))
     (build-system gnu-build-system)
     (arguments
      ;; TODO: Package http_parser and add --shared-http-parser.
@@ -78,7 +78,10 @@
              ;; FIXME: These tests fail in the build container, but they don't
              ;; seem to be indicative of real problems in practice.
              (for-each delete-file
-                       '("test/parallel/test-cluster-master-error.js"
+                       '("test/parallel/test-https-connect-address-family.js"
+                         "test/parallel/test-tls-connect-address-family.js"
+                         "test/parallel/test-dgram-membership.js"
+                         "test/parallel/test-cluster-master-error.js"
                          "test/parallel/test-cluster-master-kill.js"
                          "test/parallel/test-npm-install.js"
                          "test/parallel/test-stdout-close-unref.js"
@@ -101,22 +104,15 @@
                              (string-append (assoc-ref inputs "python")
                                             "/bin/python")
                              "configure" flags)))))
-         (replace 'patch-shebangs
-           (lambda* (#:key outputs #:allow-other-keys #:rest all)
-             ;; Work around <http://bugs.gnu.org/23723>.
-             (let* ((patch  (assoc-ref %standard-phases 'patch-shebangs))
-                    (npm    (string-append (assoc-ref outputs "out")
-                                           "/bin/npm"))
+         (add-after 'patch-shebangs 'patch-npm-shebang
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((bindir (string-append (assoc-ref outputs "out")
+                                           "/bin"))
+                    (npm    (string-append bindir "/npm"))
                     (target (readlink npm)))
-               (and (apply patch all)
-                    (with-directory-excursion (dirname npm)
-                      ;; Turn NPM into a symlink to TARGET again, which 'npm'
-                      ;; relies on for the resolution of relative file names
-                      ;; in JS files.
-                      (delete-file target)
-                      (rename-file npm target)
-                      (symlink target npm)
-                      #t))))))))
+               (with-directory-excursion bindir
+                 (patch-shebang target (list bindir))
+                 #t)))))))
     (native-inputs
      `(("python" ,python-2)
        ("perl" ,perl)
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-08-30  8:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 11:02 [PATCH v2] gnu: node: Update to 6.3.1 Jelle Licht
2016-08-07  3:00 ` Leo Famulari
2016-08-07 12:45   ` Jelle Licht
2016-08-08 21:18     ` Leo Famulari
2016-08-09 13:13       ` Jelle Licht
2016-08-09 13:18         ` Thompson, David
2016-08-12 17:25         ` Leo Famulari
2016-08-19 10:40           ` Pjotr Prins
2016-08-19 11:04             ` No package from hydra Pjotr Prins
2016-08-19 12:13               ` Pjotr Prins
2016-08-19 12:15                 ` Pjotr Prins
2016-08-19 12:19                   ` Pjotr Prins
2016-08-19 15:23                     ` Pjotr Prins
2016-08-19 16:03                       ` David Craven
2016-08-30  6:18                     ` Danny Milosavljevic
2016-08-30  8:29                       ` No package from hydra - a proposal for software discovery Pjotr Prins
     [not found]             ` <CAPsKtfLKa9489C6=F1=328y-iZF+wAXJvkdg_HXkA8wSjteu_Q@mail.gmail.com>
2016-08-19 12:16               ` [PATCH v2] gnu: node: Update to 6.3.1 Jelle Licht
2016-08-19 13:39                 ` Jelle Licht
2016-08-19 19:16                   ` Christopher Allan Webber

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.