devshells: add zig and update java

This commit is contained in:
Christoph Hollizeck 2025-06-13 02:52:37 +02:00
parent b9f84eeaa5
commit 8042bbb21f
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 30 additions and 1 deletions

View file

@ -137,7 +137,6 @@
overlays = with inputs; [
hyprpanel.overlay
devenv.overlays.default
zig-overlay.overlays.default
];
homes.modules = with inputs; [

View file

@ -9,5 +9,8 @@ mkShell {
jdt-language-server
zulu8
zulu21
jetbrains.idea-community
maven
ant
];
}

27
shells/zig/default.nix Normal file
View file

@ -0,0 +1,27 @@
{
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
# as well as the libraries available from your flake's inputs.
lib,
# You also have access to your flake's inputs.
inputs,
# The namespace used for your flake, defaulting to "internal" if not set.
namespace,
# All other arguments come from NixPkgs. You can use `pkgs` to pull shells or helpers
# programmatically or you may add the named attributes as arguments here.
pkgs,
mkShell,
system,
...
}:
let
in
mkShell {
# Create your shell
nativeBuildInputs = [
inputs.zig-overlay.packages.${system}.master
inputs.zls.packages.${system}.zls
];
}