mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: icedtea6: patch ant shebang in unpack phase
* gnu/packages/java.scm (icedtea6)[arguments]: patch bootstrap ant in the `unpack' phase instead of `patch-paths'.
This commit is contained in:
parent
e73b49fbd6
commit
f9e62ad221
1 changed files with 1 additions and 2 deletions
|
@ -184,6 +184,7 @@ (define-public icedtea6
|
|||
(zero? (system* "tar" "xvjf"
|
||||
(assoc-ref inputs "ant-bootstrap")))
|
||||
(begin
|
||||
(patch-shebang "apache-ant-1.9.4/bin/ant")
|
||||
(chdir (string-append ,name "-" ,version))
|
||||
(mkdir "openjdk")
|
||||
(with-directory-excursion "openjdk"
|
||||
|
@ -193,8 +194,6 @@ (define-public icedtea6
|
|||
(alist-cons-after
|
||||
'unpack 'patch-paths
|
||||
(lambda _
|
||||
(patch-shebang "../apache-ant-1.9.4/bin/ant")
|
||||
|
||||
;; shebang in patches so that they apply cleanly
|
||||
(substitute* '("patches/jtreg-jrunscript.patch"
|
||||
"patches/hotspot/hs23/drop_unlicensed_test.patch")
|
||||
|
|
Loading…
Reference in a new issue