devshells: add zig and update java
This commit is contained in:
parent
b9f84eeaa5
commit
8042bbb21f
3 changed files with 30 additions and 1 deletions
|
@ -137,7 +137,6 @@
|
||||||
overlays = with inputs; [
|
overlays = with inputs; [
|
||||||
hyprpanel.overlay
|
hyprpanel.overlay
|
||||||
devenv.overlays.default
|
devenv.overlays.default
|
||||||
zig-overlay.overlays.default
|
|
||||||
];
|
];
|
||||||
|
|
||||||
homes.modules = with inputs; [
|
homes.modules = with inputs; [
|
||||||
|
|
|
@ -9,5 +9,8 @@ mkShell {
|
||||||
jdt-language-server
|
jdt-language-server
|
||||||
zulu8
|
zulu8
|
||||||
zulu21
|
zulu21
|
||||||
|
jetbrains.idea-community
|
||||||
|
maven
|
||||||
|
ant
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
27
shells/zig/default.nix
Normal file
27
shells/zig/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue