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>
This commit is contained in:
Artyom V. Poptsov 2022-09-17 20:48:19 +03:00 committed by Björn Höfling
parent 344405475a
commit 79897a3701
No known key found for this signature in database
GPG Key ID: BF286CB6593E5FFD

@ -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)