summaryrefslogtreecommitdiff
path: root/2024/OCaml/shell.nix
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2025-03-06 02:10:32 +0100
committerDJ O'Leary <dijitol@proton.me>2025-03-06 02:10:32 +0100
commit0db069e6f6992a544f9dda7657cb6367113a8fcf (patch)
tree21b4163ced89e6ed4bfb43744d351086ff801d2f /2024/OCaml/shell.nix
parent2996ab249a6ae29b2644061c366f88c2157652f2 (diff)
feat: Replace OCaml shell with flake
Diffstat (limited to '2024/OCaml/shell.nix')
-rw-r--r--2024/OCaml/shell.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/2024/OCaml/shell.nix b/2024/OCaml/shell.nix
deleted file mode 100644
index bd9cc09..0000000
--- a/2024/OCaml/shell.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ }:
-let
- config = {
- allowUnfree = true;
- };
- pkgs = import <nixpkgs> { inherit config; };
-
- # choose the ocaml version you want to use
- ocamlPackages = pkgs.ocaml-ng.ocamlPackages_5_2;
-in
-pkgs.mkShell {
- # build tools
- nativeBuildInputs = with ocamlPackages; [
- pkgs.opam
- ocaml
- findlib
- dune_3
- ];
- # dependencies
- buildInputs = with ocamlPackages; [
- bisect_ppx
- findlib
- menhir
- ocaml-lsp
- earlybird
- ocamlformat
- ocamlgraph
- odoc
- ounit2
- re2
- utop
-
- pkgs.gh # GitHub CLI
- ];
-}