new library: added containers as a dependency.
This commit is contained in:
10
flake.nix
10
flake.nix
@@ -11,17 +11,21 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
devInputs = with pkgs.ocamlPackages; [merlin];
|
||||
ocamlPkgs = with pkgs.ocamlPackages; [menhir dune_3];
|
||||
nativeInputs = with pkgs; ocamlPkgs ++ [ocaml];
|
||||
libs = with pkgs.ocamlPackages; [findlib containers];
|
||||
nativeInputs = with pkgs; ocamlPkgs ++ [ocaml];
|
||||
in
|
||||
{
|
||||
packages.default = pkgs.ocamlPackages.buildDunePackage {
|
||||
packages.default = (pkgs.ocamlPackages.buildDunePackage {
|
||||
pname = "ollisp";
|
||||
version = "0.0.1";
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
nativeBuildInputs = nativeInputs;
|
||||
};
|
||||
buildInputs = libs;
|
||||
});
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = nativeInputs ++ devInputs;
|
||||
buildInputs = libs;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user