I’m trying to build a Intellij Idea CE locally, because there is no pre-built package available for aarch64.
Machine Apple Silicon M1 running QEMU VM with Ubuntu aarch64 guest.
How difficult would it be to tweak the package definition to make the build on arm64 platform?
user1@mac:~$ nix-build '<nixpkgs>' -A jetbrains.idea-community --show-trace
error: while evaluating the attribute 'installPhase' of the derivation 'idea-community-2021.1' at /nix/store/vcb3crx4l2vmwq5gvkphilks1mphqwk2-nixpkgs-21.05pre285923.ae96c292c0e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11:
while evaluating the attribute 'home' at /nix/store/vcb3crx4l2vmwq5gvkphilks1mphqwk2-nixpkgs-21.05pre285923.ae96c292c0e/nixpkgs/pkgs/development/compilers/jetbrains-jdk/default.nix:32:5:
while evaluating the attribute 'configureFlags' of the derivation 'jetbrains-jdk-11.0.10-b1427' at /nix/store/vcb3crx4l2vmwq5gvkphilks1mphqwk2-nixpkgs-21.05pre285923.ae96c292c0e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11:
while evaluating the attribute 'preBuild' of the derivation 'openjfx-modular-sdk-11.0.3-1' at /nix/store/vcb3crx4l2vmwq5gvkphilks1mphqwk2-nixpkgs-21.05pre285923.ae96c292c0e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11:
while evaluating the attribute 'outputHash' of the derivation 'openjfx-deps-11.0.3-1' at /nix/store/vcb3crx4l2vmwq5gvkphilks1mphqwk2-nixpkgs-21.05pre285923.ae96c292c0e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:201:11:
Unsupported platform