feat (shells): haskell, java, switch to unstable

This commit is contained in:
Henri Saudubray 2025-12-26 14:35:40 +01:00
parent 4bdddc6a8c
commit ab9cb6a9aa
8 changed files with 139 additions and 10 deletions

25
shells/java/flake.nix Normal file
View file

@ -0,0 +1,25 @@
{
description = "Java nix-flake devshell.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShells."${system}".default =
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
packages = with pkgs; [
jdk
jdt-language-server
];
};
};
}