hoebjo pushed a commit to branch master
in repository guix.

commit 79897a37012a9bfbcb460cfe0aaaf32aab79dbe5
Author: Artyom V. Poptsov <[email protected]>
AuthorDate: Sat Sep 17 20:48:19 2022 +0300

    gnu: maven-slf4j-provider: Bugfix.
    
    * 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 <[email protected]>
---
 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)

Reply via email to