shell.nix: cleanup

This commit is contained in:
Daniel Langbein 2024-12-30 16:09:20 +00:00
parent b1df4366e6
commit d06cb9eebd
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -2,14 +2,19 @@
# https://discourse.nixos.org/t/how-to-create-a-development-environment-with-intellij-idea-and-openjdk/10153
{
# NixOS stable
pkgs ? import <nixpkgs> {
# https://github.com/NixOS/nixpkgs/issues/166220#issuecomment-1745803058
config.allowUnfree = true;
},
# NixOS unstable
unstable ? import <unstable> {
# https://github.com/NixOS/nixpkgs/issues/166220#issuecomment-1745803058
config.allowUnfree = true;
}
}:
let
unstable = import (fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz) { };
jdk = unstable.jdk23;
gradle = unstable.gradle;
in