blob: 0d32b8294e39d1e0a269dd03f0d5976628596fbb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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
glpk
] ++ (with ocamlPackages; [
ocaml
ocaml-lsp
ocamlformat
findlib
ctypes
]);
};
};
}
|