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:
parent
344405475a
commit
79897a3701
@ -1786,8 +1786,8 @@ artifactId=maven-core" ,(package-version maven-core-bootstrap))))
|
|||||||
(add-after 'unpack 'unpack-slf4j
|
(add-after 'unpack 'unpack-slf4j
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(mkdir-p "generated-sources")
|
(mkdir-p "generated-sources")
|
||||||
|
(copy-recursively (assoc-ref inputs "java-slf4j-simple-source") "generated-sources")
|
||||||
(with-directory-excursion "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 delete-file (find-files "." "StaticLoggerBinder.java")))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (simple)
|
(lambda (simple)
|
||||||
|
Loading…
Reference in New Issue
Block a user