Commit Graph

24 Commits

Author SHA1 Message Date
Fabián Heredia Montiel
b8ad87becf openjdk17: 17.0.6+10 → 17.0.7+7 2023-06-13 20:35:11 -06:00
K900
2e07e19dbd openjdk: explicitly specify build platform to avoid WSL autodetection shenanigans
Fixes #204152
2023-04-15 16:24:07 +03:00
Sandro Jäckel
8204a95ef2 openjdk: bootstrap headless variant with headless openjdk
This makes bootstrapping work when environment.noXlibs is set to true
2023-04-14 22:23:39 -03:00
github-actions[bot]
a912b83051
Merge master into staging-next 2023-03-18 12:01:30 +00:00
Sergei Trofimovich
e4bcf6d967
Merge pull request #220820 from trofi/openjdk-location
openjdk{15..19}: fix position location
2023-03-18 09:40:01 +00:00
Sergei Trofimovich
544ef3138a openjdk: port to gnumake-4.4.1
Revert e6d4aecb97 "revert back to gnumake-4.4 as gnumake-4.4.1
breaks the build" and aply the fix from

https://github.com/openjdk/jdk/pull/12992
2023-03-12 12:25:45 +00:00
Sergei Trofimovich
bb1d5781e4 openjdk{15..19}: fix position location
Before this change `ix edit -f. jdk` command pointed at shared metadata.
2023-03-12 12:24:13 +00:00
Sergei Trofimovich
e6d4aecb97 openjdk17: revert back to gnumake-4.4 as gnumake-4.4.1 breaks the build
Without the change `openjdk` build fails on `staging-next` as:

       > installing
       > mv: missing destination file operand after '/nix/store/pwgvafi1xwa6l0dygmcyr1sl27dhpy67-openjdk-19.0.2+7/lib/openjdk'
       > Try 'mv --help' for more information.
2023-03-04 21:52:53 +00:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Thiago Kenji Okada
83a10248e3 openjdk17: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:27 +00:00
Benjamin Asbach
42d51f710a openjdk17: 17.0.5+8 -> 17.0.6+10 2023-02-03 10:47:29 +00:00
Artturin
238a6053c4 stdenv: support opt-in __structuredAttrs
Co-authored-by: Robin Gloster <mail@glob.in>

stdenv: print message if structuredAttrs is enabled

stdenv: add _append

reduces the chance of a user doing it wrong

fix nix develop issue

output hooks don't work yet in nix develop though

making $outputs be the same on non-structuredAttrs and structuredAttrs
is too much trouble.

lets instead make a function that gets the output names

reading environment file '/nix/store/2x7m69a2sm2kh0r6v0q5s9z1dh41m4xf-xz-5.2.5-env-bin'
nix: src/nix/develop.cc:299: std::string Common::makeRcScript(nix::ref<nix::Store>, const BuildEnvironment&, const Path&): Assertion `outputs != buildEnvironment.vars.end()' failed.

use a function to get all output names instead of using $outputs

copy env functionality from https://github.com/NixOS/nixpkgs/pull/76732/commits
2022-12-08 06:13:19 +02:00
Fabián Heredia Montiel
6bd5e60a40 openjdk17: 17.0.4+8 → 17.0.5+8 2022-11-15 13:37:47 -06:00
Nikita Gubarkov
075d9144f8 openjdk: use system Freetype and Harfbuzz
This is needed to avoid duplicate symbols from bundled/system libfontmanager.so and libharfbuzz.so, because this duplication leads to crashes.
2022-10-31 18:30:04 +03:00
Yureka
50ecf779c9 pkgsMusl.jdk: fix build 2022-10-12 20:28:59 +02:00
xeals
da40a449e9 openjdk18: init at 18+36 2022-03-23 12:57:01 +11:00
K900
739d03743d
Merge pull request #182686 from asbachb/update/openjdk17
openjdk17: 17.0.3+7 -> 17.0.4+8
2022-08-18 18:05:19 +03:00
Benjamin Asbach
e937b6e3ba openjdk17: Remove default java.library.path
see #103493
2022-07-29 22:05:54 +04:00
Benjamin Asbach
0c4d481dbc openjdk17: 17.0.3+7 -> 17.0.4+8 2022-07-24 15:20:54 +04:00
Martin Weinelt
dacd54d3f7
openjdk: mark major version 12 through 16 as EOL
https://endoflife.date/java
https://www.azul.com/products/azul-support-roadmap/

Related: #170825
2022-05-05 19:45:49 +02:00
Wanja Hentze
aca95cc459
openjdk: 17.0.1+12 -> 17.0.3.+7
Fixes several security vulnerabilities, see https://openjdk.java.net/groups/vulnerability/advisories/2022-04-19
2022-04-21 15:30:59 +02:00
Sergei Trofimovich
b42767202a openjdk: expliictly mark as 'enableParallelBuilding = false;'
Note: this change does not make build sequential. Build system still
uses it's way to parallelize the build.

The only effect of this change is not to pass unsupported -j option
to Makefile when nixpkgs default will be switched to

    enableParallelBuilding = true;
2021-10-24 14:04:46 +01:00
Kasper Gałkowski
64a379be05 openjdk17: init at 17.0.1+12 2021-10-21 14:18:53 +02:00