14 lines
404 B
Nix
14 lines
404 B
Nix
|
{
|
||
|
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 ];
|
||
|
packages = with pkgs; [ ocamlPackages.ocaml-lsp ];
|
||
|
};
|
||
|
});
|
||
|
}
|