Skip to content

jetbrains.jdk(darwin): init at 21.0.4-b598.4; jetbrains.jcef(darwin): init at 867#398564

Open
aoli-al wants to merge 2 commits intoNixOS:masterfrom
aoli-al:jcef-macos
Open

jetbrains.jdk(darwin): init at 21.0.4-b598.4; jetbrains.jcef(darwin): init at 867#398564
aoli-al wants to merge 2 commits intoNixOS:masterfrom
aoli-al:jcef-macos

Conversation

@aoli-al
Copy link
Member

@aoli-al aoli-al commented Apr 14, 2025

This PR enables jetbrains.jdk on Darwins. This PR fixes: #84263

Things done


Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Apr 14, 2025
@nix-owners nix-owners bot requested a review from edwtjo April 14, 2025 13:39
@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Apr 14, 2025
@aoli-al aoli-al force-pushed the jcef-macos branch 2 times, most recently from 8ebcd1c to 6a6bb90 Compare April 16, 2025 23:51
@aoli-al
Copy link
Member Author

aoli-al commented Apr 17, 2025

Hi @leona-ya and @Infinidoge I saw you have reviewed this package recently. Could you please review my PR? Thanks!

@Henry-Hiles
Copy link
Contributor

Is this jetbrains.jdk like the title says or jetbrains.sdk like the desc says? Or both, I'm not familiar with java tooling.

@Henry-Hiles
Copy link
Contributor

To me, it looks like .jdk, but maybe I'm wrong.

@aoli-al
Copy link
Member Author

aoli-al commented Apr 22, 2025

sorry for the typo, it should be jdk

Copy link
Contributor

@Henry-Hiles Henry-Hiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, LGTM then, but can't test since I don't have a darwin machine. I recommend someone else tests before a merge, as the changes are fairly indepth.

@Henry-Hiles Henry-Hiles added the 12.approvals: 1 This PR was reviewed and approved by one person. label Apr 22, 2025
@Henry-Hiles
Copy link
Contributor

I'm also not sure if the title should be init, since this is, as far as I can tell, not a new package, it only is added on darwin with this PR. Not sure of convention for that.

@aoli-al
Copy link
Member Author

aoli-al commented Apr 22, 2025

Thanks! I wasn't sure about the title either, and I just followed the previous PR #152723

@aoli-al aoli-al force-pushed the jcef-macos branch 3 times, most recently from 1a23146 to 6ca2c8e Compare April 22, 2025 18:32
@Henry-Hiles
Copy link
Contributor

Thanks! I wasn't sure about the title either, and I just followed the previous PR #152723

Ah, gotcha

@Infinidoge
Copy link
Contributor

The commit in this PR should be split and retitled to better reflect the addition of darwin compatibility, as opposed to just a new version addition

@aoli-al aoli-al changed the title jetbrains.jdk: init at 21.0.4-b598.4 jetbrains.jdk(darwin): init at 21.0.4-b598.4; jetbrains.jcef(darwin): init at 867 Apr 22, 2025
@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Apr 22, 2025
@aoli-al aoli-al marked this pull request as draft April 23, 2025 12:59
@aoli-al
Copy link
Member Author

aoli-al commented Apr 23, 2025

I noticed that ofborg is blocked because of Xcode.

https://logs.ofborg.org/?attempt_id=b42eac3d-c58b-4efd-a630-a5c641b2ee18&key=nixos%2Fnixpkgs.398564

I just saw this and I'll try to use Apple SDK instead of the entire Xcode.

@aoli-al
Copy link
Member Author

aoli-al commented Apr 23, 2025

Ah, jdk depends on metal, which is only available in Xcode (#387516, #290808).

At least I can build jcef without requiring xcode. @Infinidoge can you please take a look?

@aoli-al aoli-al marked this pull request as ready for review April 23, 2025 13:49
@aoli-al aoli-al force-pushed the jcef-macos branch 3 times, most recently from 8c23af7 to 902b680 Compare April 26, 2025 20:22
@aoli-al
Copy link
Member Author

aoli-al commented May 2, 2025

Gentle ping @Infinidoge

Also, I'm fine being a maintainer of this package since I use it regularly.

@aoli-al aoli-al mentioned this pull request May 2, 2025
13 tasks
@aoli-al
Copy link
Member Author

aoli-al commented May 2, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 398564


aarch64-darwin

✅ 4 packages built:
  • jetbrains.jcef
  • jetbrains.jcef.unpacked
  • jetbrains.jdk
  • jetbrains.jdk-no-jcef

@Infinidoge
Copy link
Contributor

Apologies for the delay. This week and next week have been/are quite busy for me as these are the final weeks of the semester, so it'll be a little while before I am able to do more complex reviews. If anyone else in @NixOS/java could take a look, I'd appreciate it.

@nixpkgs-ci nixpkgs-ci bot removed the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 25, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jul 26, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 30, 2025
@Eveeifyeve
Copy link
Member

@aoli-al still working on this pr or am I okay to take this over?

@nixpkgs-ci nixpkgs-ci bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 21, 2025
@aoli-al
Copy link
Member Author

aoli-al commented Dec 21, 2025

@aoli-al still working on this pr or am I okay to take this over?

Yes, feel free to continue. I stop using MacOS and cannot really continue it but I'm happy to review if you can resolve conflicts.

@aoli-al
Copy link
Member Author

aoli-al commented Dec 21, 2025

Also we may want to merge #470840 first. That PR simplifies the jcef config a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge conflict This PR has merge conflicts with the target branch 6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for darwin to jetbrains jdk

5 participants