diff options
author | Efraim Flashner <[email protected]> | 2022-05-10 11:13:45 +0300 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2022-05-10 11:13:45 +0300 |
commit | d775a24344d4a910f6a19072c595bdafcf104b6f (patch) | |
tree | a715341a7bf9f756a7523b92a8a157f4a46ce9a3 /gnu | |
parent | 37e44d48baf976f6bfcd885b2e10da4ab7be4af9 (diff) |
gnu: openjdk12: Fix build.
* gnu/packages/java.scm (openjdk12)[arguments]: Override inherited
'fix-java-shebangs phase.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/java.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 3d05ef831e..97eae386de 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2017, 2019, 2021 Tobias Geerinckx-Rice <[email protected]> ;;; Copyright © 2018, 2019 Gábor Boskovits <[email protected]> ;;; Copyright © 2018 Chris Marusich <[email protected]> -;;; Copyright © 2018, 2019, 2020, 2021 Efraim Flashner <[email protected]> +;;; Copyright © 2018, 2019, 2020, 2021, 2022 Efraim Flashner <[email protected]> ;;; Copyright © 2019, 2020, 2021 Björn Höfling <[email protected]> ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]> ;;; Copyright © 2020 Raghav Gururajan <[email protected]> @@ -2054,6 +2054,16 @@ new Date();")) `(begin (for-each delete-file (find-files "." ".*.(bin|exe|jar)$")) #t)))) + (arguments + (substitute-keyword-arguments (package-arguments openjdk11) + ((#:phases phases) + `(modify-phases ,phases + (replace 'fix-java-shebangs + (lambda _ + ;; This file was "fixed" by patch-source-shebangs, but it requires + ;; this exact first line. + (substitute* "make/data/blacklistedcertsconverter/blacklisted.certs.pem" + (("^#!.*") "#! java BlacklistedCertsConverter SHA-256\n")))))))) (inputs `(("alsa-lib" ,alsa-lib) ("cups" ,cups) |