From 735b792bcf2a8cc1fb77c19c42e6362a9abb429f Mon Sep 17 00:00:00 2001 From: Alexandre Jesus Date: Mon, 1 Dec 2025 11:44:39 +0000 Subject: Initial commit --- flake.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') 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 +# +# 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 + ]); + }; + }; +} -- cgit v1.2.3