popl-paper-ocaml/flake.nix

18 lines
496 B
Nix
Raw Normal View History

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 {
inputsFrom = with flakePkgs; [ main ];
2024-04-22 20:00:46 +00:00
packages = (with pkgs; [ ]) ++ (with pkgs.ocamlPackages; [ocaml-lsp ppxlib
alcotest
yojson
ezjsonm
]);
2024-04-22 18:29:13 +00:00
};
});
}