mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: openjdk9: Simplify snippet.
* gnu/packages/java.scm (openjdk9)[source]: Use only one find-files invocation.
This commit is contained in:
parent
1130e8c817
commit
b7a1cac603
1 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
|
||||
;;; Copyright © 2017, 2019 Carlo Zancanaro <carlo@zancanaro.id.au>
|
||||
|
@ -1808,9 +1808,8 @@ (define-public openjdk9
|
|||
(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