fix overlay/module
This commit is contained in:
parent
bea46cef34
commit
3b4d67f96c
23
flake.nix
23
flake.nix
@ -104,18 +104,19 @@
|
||||
}
|
||||
)
|
||||
// {
|
||||
nixosModules.culr = import ./nix/module.nix {overlay = self.overlays.culr;};
|
||||
nixosModules.culr = import ./nix/module.nix {culrOverlay = self.overlays.culr;};
|
||||
|
||||
overlays.culr = final: prev: let
|
||||
inherit
|
||||
(prev.ocaml-ng)
|
||||
dune_3
|
||||
ocaml
|
||||
angstrom
|
||||
angstrom-unix
|
||||
ppx_inline_test
|
||||
;
|
||||
ocaml-deps = [
|
||||
overlays.culr = final: _prev: let
|
||||
ocaml-deps = let
|
||||
inherit
|
||||
(final.ocaml-ng)
|
||||
dune_3
|
||||
ocaml
|
||||
angstrom
|
||||
angstrom-unix
|
||||
ppx_inline_test
|
||||
;
|
||||
in [
|
||||
dune_3
|
||||
ocaml
|
||||
angstrom
|
||||
|
@ -1,6 +1,4 @@
|
||||
{
|
||||
overlay
|
||||
}: {
|
||||
imports = [./culr-module.nix];
|
||||
nixpkgs.overlays = overlay;
|
||||
{culrOverlay}: {
|
||||
imports = [./culr-module.nix];
|
||||
nixpkgs.overlays = [culrOverlay];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user