diff options
author | polwex <polwex@sortug.com> | 2025-06-22 01:46:49 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-06-22 01:46:49 +0700 |
commit | c9fbdb681b77698bdf8a503cb9d13b6f0b53fd93 (patch) | |
tree | cbf7db884b7f91d33b92a12dae410ffd265635d8 /devenv.nix |
init
Diffstat (limited to 'devenv.nix')
-rw-r--r-- | devenv.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devenv.nix b/devenv.nix new file mode 100644 index 0000000..f5fd37b --- /dev/null +++ b/devenv.nix @@ -0,0 +1,27 @@ +{ + pkgs, + config, + inputs, + ... +}: let + oopkgs = import inputs.nix-ocaml {system = pkgs.system;}; + opkgs = oopkgs.ocamlPackages; +in { + # https://devenv.sh/packages/ + env.WTF = pkgs.lib.makeLibraryPath config.packages; + packages = + (with pkgs; [ + git + pkg-config + ]) + ++ (with oopkgs; [ocaml opam dune_3]) + ++ (with opkgs; [ + base + core + utop + ocamlformat + csv + ocaml-lsp + uuseg + ]); +} |