openjdk: build with empty pre-version (#92947)

The removes the "-internal" suffix from the OpenJDK version string.
Some applications, like the Jetbrains IDEs, check for a suffix to
determine if a stable JDK is used.
Thanks to @liff for the hint in #92837!
wip/yesman
Milan 4 years ago committed by GitHub
parent 194d749582
commit 56fcf7891b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkgs/development/compilers/openjdk/11.nix
  2. 1
      pkgs/development/compilers/openjdk/12.nix
  3. 1
      pkgs/development/compilers/openjdk/13.nix

@ -47,6 +47,7 @@ let
configureFlags = [
"--with-boot-jdk=${openjdk11-bootstrap.home}"
"--with-version-pre="
"--enable-unlimited-crypto"
"--with-native-debug-symbols=internal"
"--with-libjpeg=system"

@ -55,6 +55,7 @@ let
configureFlags = [
"--with-boot-jdk=${openjdk11.home}"
"--with-version-pre="
"--enable-unlimited-crypto"
"--with-native-debug-symbols=internal"
"--with-libjpeg=system"

@ -55,6 +55,7 @@ let
configureFlags = [
"--with-boot-jdk=${openjdk13-bootstrap.home}"
"--with-version-pre="
"--enable-unlimited-crypto"
"--with-native-debug-symbols=internal"
"--with-libjpeg=system"

Loading…
Cancel
Save