mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
gnu: icedtea@2: Fix missing match catch-all.
* gnu/packages/java.scm (icedtea@2)[arguments]: In custom 'install-libjvm phase add catch-all case to 'match'.
This commit is contained in:
parent
0b2a004598
commit
4176300804
1 changed files with 8 additions and 1 deletions
|
@ -1430,7 +1430,14 @@ (define-public icedtea-7
|
||||||
("armhf-linux"
|
("armhf-linux"
|
||||||
"/lib/arm")
|
"/lib/arm")
|
||||||
("aarch64-linux"
|
("aarch64-linux"
|
||||||
"/lib/aarch64")))))
|
"/lib/aarch64")
|
||||||
|
;; We need a catch-all, dropping
|
||||||
|
;; '-linux' works in most cases.
|
||||||
|
(_
|
||||||
|
(string-append
|
||||||
|
"/lib/"
|
||||||
|
(string-drop-right
|
||||||
|
(%current-system) 6)))))))
|
||||||
(symlink (string-append lib-path "/server/libjvm.so")
|
(symlink (string-append lib-path "/server/libjvm.so")
|
||||||
(string-append lib-path "/libjvm.so")))
|
(string-append lib-path "/libjvm.so")))
|
||||||
#t))
|
#t))
|
||||||
|
|
Loading…
Reference in a new issue