diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2022-09-17 20:48:19 +0300 |
---|---|---|
committer | Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | 2022-09-21 09:07:54 +0200 |
commit | 79897a37012a9bfbcb460cfe0aaaf32aab79dbe5 (patch) | |
tree | d33d0f901da3170618c62b0970094e13a93a46ba | |
parent | 344405475aebd6bcad60f29fc4ac0b7122a78fd0 (diff) | |
download | guix-79897a37012a9bfbcb460cfe0aaaf32aab79dbe5.tar.gz guix-79897a37012a9bfbcb460cfe0aaaf32aab79dbe5.zip |
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 <bjoern.hoefling@bjoernhoefling.de>
-rw-r--r-- | gnu/packages/maven.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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) |