Reorganize flake again, it should be good now
This commit is contained in:
@@ -7,18 +7,19 @@
|
|||||||
outputs = {self, nixpkgs}:
|
outputs = {self, nixpkgs}:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
nativeOcamlInputs = with pkgs.ocamlPackages; [menhir merlin dune_3];
|
devInputs = with pkgs.ocamlPackages; [merlin];
|
||||||
nativeInputs = with pkgs; [ocaml];
|
ocamlPkgs = with pkgs.ocamlPackages; [menhir dune_3];
|
||||||
|
nativeInputs = with pkgs; ocamlPkgs ++ [ocaml];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages.x86_64-linux.default = pkgs.ocamlPackages.buildDunePackage {
|
packages.x86_64-linux.default = pkgs.ocamlPackages.buildDunePackage {
|
||||||
pname = "ollisp";
|
pname = "ollisp";
|
||||||
version = "0.0.1";
|
version = "0.0.1";
|
||||||
src = pkgs.lib.cleanSource ./.;
|
src = pkgs.lib.cleanSource ./.;
|
||||||
nativeBuildInputs = nativeInputs ++ nativeOcamlInputs;
|
nativeBuildInputs = nativeInputs;
|
||||||
};
|
};
|
||||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||||
nativeBuildInputs = nativeInputs ++ nativeOcamlInputs;
|
nativeBuildInputs = nativeInputs ++ devInputs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user