guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: gnu: java-cisd-args4j: Copy instead of unpacking input.


From: guix-commits
Subject: 07/07: gnu: java-cisd-args4j: Copy instead of unpacking input.
Date: Mon, 25 Oct 2021 01:30:32 -0400 (EDT)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit 2640da84100aac3129c96cd89df1449d5d999243
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Oct 24 23:26:59 2021 +0000

    gnu: java-cisd-args4j: Copy instead of unpacking input.
    
    * gnu/packages/java.scm (java-cisd-args4j)[arguments]: Do not unpack
    build-resources input; just copy the contents.
---
 gnu/packages/java.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d357352..a1fc69b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3426,11 +3426,9 @@ libraries from the SIS division at ETH Zurich like 
jHDF5.")
            (add-after 'unpack 'unpack-build-resources
              (lambda* (#:key inputs #:allow-other-keys)
                (mkdir-p "../build_resources")
-               (invoke "tar" "xf" (assoc-ref inputs "build-resources")
-                       "-C" "../build_resources"
-                       "--strip-components=1")
-               (mkdir-p "../build_resources/lib")
-               #t))
+               (copy-recursively (assoc-ref inputs "build-resources")
+                                 "../build_resources")
+               (mkdir-p "../build_resources/lib")))
            (add-after 'unpack-build-resources 'fix-dependencies
              (lambda* (#:key inputs #:allow-other-keys)
                ;; FIXME: There should be a more convenient abstraction for



reply via email to

[Prev in Thread] Current Thread [Next in Thread]