From 79897a37012a9bfbcb460cfe0aaaf32aab79dbe5 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 17 Sep 2022 20:48:19 +0300 Subject: gnu: maven-slf4j-provider: Bugfix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maven.scm (maven-slf4j-provider): Bugfix: Don't use "tar" to extract "java-slf4j-simple-source" as it is already unpacked; recursively copy the source instead. Signed-off-by: Björn Höfling --- gnu/packages/maven.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 28ec4eb9a8..50c4b457b5 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -1786,8 +1786,8 @@ artifactId=maven-core" ,(package-version maven-core-bootstrap)))) (add-after 'unpack 'unpack-slf4j (lambda* (#:key inputs #:allow-other-keys) (mkdir-p "generated-sources") + (copy-recursively (assoc-ref inputs "java-slf4j-simple-source") "generated-sources") (with-directory-excursion "generated-sources" - (invoke "tar" "xf" (assoc-ref inputs "java-slf4j-simple-source")) (for-each delete-file (find-files "." "StaticLoggerBinder.java"))) (for-each (lambda (simple) -- cgit 1.4.1