37 lines
808 B
Nix
37 lines
808 B
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, flake-utils, nixpkgs }:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShell =
|
|
#let
|
|
#
|
|
#in
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
ocaml
|
|
ocamlPackages.ocaml-lsp
|
|
ocamlPackages.findlib
|
|
ocamlformat
|
|
ocamlPackages.ocamlformat-rpc-lib
|
|
ocamlPackages.utop
|
|
dune_3
|
|
opam
|
|
# Project deps
|
|
ocamlPackages.ppxlib
|
|
ocamlPackages.ppx_deriving
|
|
|
|
];
|
|
};
|
|
});
|
|
}
|