summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-10-24 23:26:59 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-10-24 23:26:59 +0000
commit2640da84100aac3129c96cd89df1449d5d999243 (patch)
treeaaacfde6a9115bda2d5090ce6d7db8af787de286
parent41e5c12c4a6900688a803ab3d1e5fcb06d338212 (diff)
downloadguix-2640da84100aac3129c96cd89df1449d5d999243.tar.gz
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.
-rw-r--r--gnu/packages/java.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d357352b92..a1fc69b4ff 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