gnu: openjdk10: Build from hg.
* gnu/packages/java.scm (openjdk10)[source]: Use HG-DOWNLOAD. This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62071> for OpenJDK 10.
This commit is contained in:
parent
b29954509f
commit
7636c49b45
1 changed files with 9 additions and 11 deletions
|
@ -1035,19 +1035,17 @@ (define-public openjdk10
|
|||
(name "openjdk")
|
||||
(version "10.46")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri "http://hg.openjdk.java.net/jdk/jdk/archive/6fa770f9f8ab.tar.bz2")
|
||||
(file-name (string-append name "-" version ".tar.bz2"))
|
||||
(method hg-fetch)
|
||||
(uri (hg-reference (url "https://hg.openjdk.org/jdk/jdk")
|
||||
(changeset "jdk-10+46")))
|
||||
(file-name (hg-file-name name version))
|
||||
(modules '((guix build utils)))
|
||||
(snippet `(begin
|
||||
(for-each delete-file
|
||||
(find-files "." ".*.(bin|exe|jar)$"))))
|
||||
(sha256
|
||||
(base32
|
||||
"0zywq2203b4hx4jms9vbwvjcj1d3k2v3qpx4s33729fkpmid97r4"))
|
||||
(patches (search-patches
|
||||
"openjdk-10-idlj-reproducibility.patch"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
`(begin
|
||||
(for-each delete-file (find-files "." ".*.(bin|exe|jar)$"))
|
||||
#t))))
|
||||
"0i47ar8lxzjrkkiwbzybfxs473390h4jq9ahm3xqdvy5zpchxy3y"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments openjdk9)
|
||||
((#:phases phases)
|
||||
|
|
Loading…
Reference in a new issue