{ pkgs ? import { } }: let unstable = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz) { }; toolchains = [ (unstable.jdk11 + "/lib/openjdk") (unstable.jdk17 + "/lib/openjdk") ]; patchedGradle = unstable.gradle_8.overrideAttrs (curr: old: { fixupPhase = (old.fixupPhase or "") + '' cat > $out/lib/gradle/gradle.properties < ./.sgp < .idea/gradle.xml < EOF echo IntelliJ IDEA configured, restart running instances EOS chmod +x ./.sgp ''; }