From c8c444dbd27303b330ff3d8217b5ce162232e815 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 11 Jul 2022 09:44:40 +0300 Subject: gnu: parallel: Update to 20220622. * gnu/packages/parallel.scm (parallel): Update to 20220622. [arguments]: Add phase to add parallel to the PATH. --- gnu/packages/parallel.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index ec785cedf7..69b5c3eb0c 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -62,14 +62,14 @@ (define-module (gnu packages parallel) (define-public parallel (package (name "parallel") - (version "20220522") + (version "20220622") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/parallel/parallel-" version ".tar.bz2")) (sha256 - (base32 "07wczb3ra65xn8xar4lsfmdvqscbqk9n99r6vcxqzrk4v7w9aqxv")))) + (base32 "186mbzz5dn2ka8fqk9r8v8fpmh17clh2c6xln0czs81vynl1bgd4")))) (build-system gnu-build-system) (arguments `(#:phases @@ -84,6 +84,10 @@ (define-public parallel ;; parent_shell($$) || $ENV{'SHELL'} || "/bin/sh"; (("/bin/sh\\\";\n$") (string-append (which "sh") "\";\n")))) (list "src/parallel" "src/sem")))) + (add-before 'install 'add-install-to-path + (lambda* (#:key outputs #:allow-other-keys) + (setenv "PATH" (string-append (getenv "PATH") ":" + (assoc-ref outputs "out") "/bin")))) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- cgit v1.2.3