diff options
author | Julien Lepiller <julien@lepiller.eu> | 2020-06-26 22:24:10 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2020-07-17 04:14:50 +0200 |
commit | 159e6d9fe33b8a76ae650d3b6b1f3d708eb6baaa (patch) | |
tree | 00d4ee7793a7c71bcd8227fe79a7d03e0330bc36 /gnu/packages/maven.scm | |
parent | 51087d51df20b89cf081aaa895efadbb73e6550b (diff) | |
download | guix-159e6d9fe33b8a76ae650d3b6b1f3d708eb6baaa.tar.gz |
gnu: maven-shared-utils: Fix /bin/sh invocation.
* gnu/packages/maven.scm (maven-shared-utils): Fix /bin/sh invocation.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r-- | gnu/packages/maven.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index dfd7102e1e..00c644c432 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -379,9 +379,13 @@ Maven Wagon, for use in Maven."))) (arguments `(#:jar-name "maven-shared-utils.jar" #:source-dir "src/main/java" - #:jdk ,icedtea-8 #:phases (modify-phases %standard-phases + (add-before 'build 'fix-/bin/sh-invocation + (lambda _ + (substitute* (find-files "src" ".*.java$") + (("/bin/sh") (which "sh"))) + #t)) (add-before 'check 'remove-cyclic-dep (lambda _ (delete-file |