From d06cb9eebdb1c5beb903b2167d474c92b02933fd Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 30 Dec 2024 16:09:20 +0000 Subject: [PATCH] shell.nix: cleanup --- shell.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 9a49d71..1560ed6 100644 --- a/shell.nix +++ b/shell.nix @@ -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 { # https://github.com/NixOS/nixpkgs/issues/166220#issuecomment-1745803058 config.allowUnfree = true; + }, + # NixOS unstable + unstable ? import { + # 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