[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54852] [PATCH] gnu: Add openjdk18.
From: |
Rostislav Svoboda |
Subject: |
[bug#54852] [PATCH] gnu: Add openjdk18. |
Date: |
Thu, 21 Apr 2022 12:27:43 +0200 |
Le mar. 12 avr. 2022 à 15:24, Rostislav Svoboda
<rostislav.svoboda@gmail.com> a écrit :
> + (native-inputs
> + `(("autoconf" ,autoconf)
> + ("openjdk17:jdk" ,openjdk17 "jdk")
> + ("pkg-config" ,pkg-config)
> + ("unzip" ,unzip)
> + ("which" ,which)
> + ("zip" ,zip)))
And it looks like even this part can be deduplicated. Either by:
(native-inputs
(map (lambda (input)
(match (car input)
("openjdk16:jdk" `("openjdk17:jdk" ,openjdk17 "jdk"))
(_ input)))
(package-native-inputs openjdk17)))
or by:
(native-inputs
(modify-inputs (append (package-native-inputs openjdk17)
`(("openjdk17:jdk" ,openjdk17 "jdk")))
(delete "openjdk16:jdk")))
Which one do you like more?
Cheers
Bost
- [bug#54852] [PATCH] gnu: Add openjdk18., Rostislav Svoboda, 2022/04/11
- [bug#54852] [PATCH] gnu: Add openjdk18., Maxime Devos, 2022/04/11
- [bug#54852] [PATCH] gnu: Add openjdk18., Maxime Devos, 2022/04/11
- [bug#54852] [PATCH] gnu: Add openjdk18., Rostislav Svoboda, 2022/04/12
- [bug#54852] [PATCH] gnu: Add openjdk18.,
Rostislav Svoboda <=
- [bug#54852] [PATCH] gnu: Add openjdk18., Maxime Devos, 2022/04/21
- [bug#54852] [PATCH] gnu: Add openjdk18., Rostislav Svoboda, 2022/04/22
- [bug#54852] [PATCH] gnu: Add openjdk18., Maxime Devos, 2022/04/23
- [bug#54852] [PATCH] gnu: Add openjdk18., Rostislav Svoboda, 2022/04/23
- [bug#54852] [PATCH] gnu: Add openjdk18., Maxime Devos, 2022/04/23
[bug#54852] [PATCH] gnu: Add openjdk18., Julien Lepiller, 2022/04/11