Files
crafting-interpreters/flake.nix
ctsk e68f0edc1c Code Generation for Expression trees
- Ditched Gradle because I couldn't get annotation processing to work,
  switched to maven instead
2022-09-06 17:34:55 +02:00

30 lines
569 B
Nix

{
description = "Crafting Interpreters";
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
gcc = pkgs.gcc;
openjdk = pkgs.openjdk;
maven = pkgs.maven;
in
{
devShell = pkgs.mkShell {
buildInputs = [
gcc
openjdk
maven
];
};
}
);
}