diff options
| author | Alexandre Jesus <adbjesus@gmail.com> | 2025-12-01 11:44:39 +0000 |
|---|---|---|
| committer | Alexandre Jesus <adbjesus@gmail.com> | 2025-12-01 11:44:39 +0000 |
| commit | 735b792bcf2a8cc1fb77c19c42e6362a9abb429f (patch) | |
| tree | 4f141174fbc2468d2e47b3c30ae7d171197270f2 /flake.nix | |
| download | aoc2025-735b792bcf2a8cc1fb77c19c42e6362a9abb429f.tar.gz aoc2025-735b792bcf2a8cc1fb77c19c42e6362a9abb429f.zip | |
Initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..f9de1fc --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +# SPDX-FileCopyrightText: Copyright 2025 Alexandre Jesus <https://adbjesus.com> +# +# SPDX-License-Identifier: CC0-1.0 + +{ + description = "Development shell for Advent of Code 2025"; + + inputs = { + nixpkgs = { + url = "github:nixos/nixpkgs/nixos-unstable"; + }; + }; + + outputs = { self, nixpkgs }: + let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + in { + devShells.${system}.default = pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + dune_3 + reuse + ] ++ (with ocamlPackages; [ + ocaml + ocaml-lsp + ]); + }; + }; +} |
