Tristan Daniël Maat
cedf1b8c0e
Note: For some reason my input results in part 2 being exactly 10 less than it should be, I suspect this is a bug in the input data?
20 lines
381 B
Nix
20 lines
381 B
Nix
{
|
|
description = "Advent of Code 2023 repo";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
};
|
|
|
|
outputs = {nixpkgs, ...}: let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
kotlin
|
|
kotlin-language-server
|
|
];
|
|
};
|
|
};
|
|
}
|