shell.nix: cleanup

This commit is contained in:
Daniel Langbein 2025-01-10 20:56:55 +00:00
parent 2b85e4e956
commit ef9d8a512e
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -5,30 +5,28 @@
# https://github.com/NixOS/nixpkgs/issues/166220#issuecomment-1745803058
{
### Import with nix channels ###
### Import nixpkgs as channels ###
#
# NixOS stable
# nixpkgs stable
#pkgs ? import <nixpkgs> {
# # Required for IntelliJ Ultimate
# config.allowUnfree = true;
#},
# NixOS unstable
#unstable ? import <unstable> {
# config.allowUnfree = true;
#}
# nixpkgs unstable
#unstable ? import <unstable> { }
}:
let
### Import with Niv ###
### Import nixpkgs with Niv ###
#
sources = import ./nix/sources.nix;
# NixOS stable
# nixpkgs stable
pkgs = import sources.nixpkgs {
# Required for IntelliJ Ultimate
config.allowUnfree = true;
};
# NixOS unstable
unstable = import sources.unstable {
config.allowUnfree = true;
};
# nixpkgs unstable
unstable = import sources.unstable { };
jdk = unstable.jdk23;
gradle = unstable.gradle.override {