mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
gnu: openjdk12: Simplify snippet.
* gnu/packages/java.scm (openjdk12)[source]: Use regular expression in find-files.
This commit is contained in:
parent
af96575f9d
commit
d66c44dd4f
1 changed files with 1 additions and 3 deletions
|
@ -2231,9 +2231,7 @@ (define-public openjdk12
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
`(begin
|
`(begin
|
||||||
(for-each delete-file (find-files "." ".*.bin$"))
|
(for-each delete-file (find-files "." ".*.(bin|exe|jar)$"))
|
||||||
(for-each delete-file (find-files "." ".*.exe$"))
|
|
||||||
(for-each delete-file (find-files "." ".*.jar$"))
|
|
||||||
#t))))
|
#t))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
|
|
Loading…
Reference in a new issue