popl-paper-ocaml/flake.nix

26 lines
661 B
Nix
Raw Normal View History

2024-04-22 18:29:13 +00:00
{
2024-04-25 21:42:13 +00:00
inputs.nixpkgs.url = "github:nixos/nixpkgs";
2024-04-22 18:29:13 +00:00
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
flakePkgs = { main = pkgs.ocamlPackages.callPackage ./. { }; };
in {
devShell = pkgs.mkShell {
2024-05-13 17:07:19 +00:00
# inputsFrom = with flakePkgs; [ main ];
2024-04-23 01:44:55 +00:00
packages = (with pkgs; [
2024-05-13 17:07:19 +00:00
# inotify-tools
fstar
nixfmt-rfc-style
2024-04-23 01:44:55 +00:00
]) ++ (with pkgs.ocamlPackages; [
2024-05-13 17:07:19 +00:00
# ocaml-lsp
# ppxlib
# ppx_deriving
# alcotest
# yojson
# ezjsonm
2024-04-22 20:00:46 +00:00
]);
2024-04-22 18:29:13 +00:00
};
});
}