lox/shell.nix
adnanioricce 1d38acda73 [Init&Scanning] - Chapter 4 follow up
- Chapter 4 follow up from the "crafting interpreters" book
- Changing the package name ``com.craftinginterpreters.lox`` to ``com.lox``
2024-08-21 13:03:43 -03:00

14 lines
225 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.openjdk
];
shellHook = ''
chmod +x run.sh
echo "Java environment is ready. You can now compile and run your Java programs."
'';
}