mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 04:37:36 -05:00
gnu: openjdk11: Simplify snippet.
* gnu/packages/java.scm (openjdk11)[source]: Use regular expression in find-files.
This commit is contained in:
parent
8a938d4b79
commit
1adf49df29
1 changed files with 1 additions and 3 deletions
|
@ -2001,9 +2001,7 @@ (define-public openjdk11
|
|||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
`(begin
|
||||
(for-each delete-file (find-files "." ".*.bin$"))
|
||||
(for-each delete-file (find-files "." ".*.exe$"))
|
||||
(for-each delete-file (find-files "." ".*.jar$"))
|
||||
(for-each delete-file (find-files "." ".*.(bin|exe|jar)$"))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "jdk" "doc"))
|
||||
|
|
Loading…
Reference in a new issue