update stuff

This commit is contained in:
2025-11-13 01:11:02 +01:00
parent b17a5fa1dd
commit 64ee63975c
6 changed files with 6 additions and 4 deletions

38
flake.nix Normal file
View File

@@ -0,0 +1,38 @@
{
description = "Rechnernetze";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [];
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}:
with pkgs.lib; {
devShells.default = with pkgs;
mkShell {
packages = [
openjdk
ant
];
shellHook = ''
echo "Usage Example:"
echo "ant run -Dmain-class=praktikum5.aufgabe3.Server"
'';
};
};
flake = {
};
};
}