jetbrains.jdk-bin: init at 1751.21#152723
Conversation
removed it because i thought it inherits from sourcebuild but brain lag ...
| @@ -0,0 +1,43 @@ | |||
| { lib, openjdk11, fetchurl, jetbrains, stdenv }: | |||
|
|
|||
| openjdk11.overrideAttrs (oldAttrs: rec { | |||
There was a problem hiding this comment.
Why do an override of the (source build?) openjdk expression? Just use stdenvNoCC.mkDerivation.
| url = "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-${darwinVersion}.tar.gz"; | ||
| sha256 = if stdenv.isAarch64 then "65807ed92397cd92e1381c49039af443d713874e1ec8efd6e92e370514e56861" else "654dd3126e67de8605a7cd94a3ebc713365cc1d63ab6156dd65f0249b064e37a"; | ||
| }; | ||
| patches = []; |
| postFixup = '' | ||
| ''; | ||
|
|
There was a problem hiding this comment.
| postFixup = '' | |
| ''; |
| ''; | ||
| homepage = "https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime"; | ||
| inherit (openjdk11.meta) license platforms mainProgram; | ||
| maintainers = with maintainers; [ edwtjo petabyteboy ]; |
There was a problem hiding this comment.
| maintainers = with maintainers; [ edwtjo petabyteboy ]; | |
| maintainers = with maintainers; [ ]; |
But please be encouraged to add yourself.
| }) // { | ||
| jdk = callPackage ../development/compilers/jetbrains-jdk { }; | ||
| sourcebuild = callPackage ../development/compilers/jetbrains-jdk/default.nix { }; | ||
| prebuild = callPackage ../development/compilers/jetbrains-jdk/prebuild.nix { }; |
There was a problem hiding this comment.
Our usual language for this is "build vs binary", so:
| prebuild = callPackage ../development/compilers/jetbrains-jdk/prebuild.nix { }; | |
| jdk-bin = callPackage ../development/compilers/jetbrains-jdk/bin.nix { }; |
|
@veprbl thx for the inputs! Will change that when my new macbook is here ( the old one died yesterday ). |
|
@veprbl i would close this PR ( i thought about the way i resolved the underlaying problem and don't like it ) will try to fix the underlaying problem why the jdk couldn't build on osx and will do a new pr. So its a proper fix to the problem without the need to switch to a binary package. |
|
A source build would be preferred, indeed. |
Update jetbrains.sdk to be workable on darwin as well, the build process of the source variant used on linux is broken. So update to binary one for darwin.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notesThis pr should fix the problem described here: #84263