me
/
guix
Archived
1
0
Fork 0

gnu: openjdk9: Simplify snippet.

* gnu/packages/java.scm (openjdk9)[source]: Use only one find-files
invocation.
master
Ricardo Wurmus 2020-05-14 21:31:42 +02:00
parent 1130e8c817
commit b7a1cac603
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 4 deletions

View File

@ -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 @@ new Date();"))
(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"))