Adds overlay.
This commit is contained in:
parent
08f64404ba
commit
3d8c6bbe52
14
flake.nix
14
flake.nix
|
@ -15,13 +15,21 @@
|
|||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
inputs.napalm.overlays.default
|
||||
self.overlay
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells.default = import ./shell.nix { inherit pkgs; };
|
||||
packages.default = pkgs.callPackage ./default.nix { };
|
||||
packages.frontend = pkgs.mmelodies.frontend;
|
||||
}
|
||||
);
|
||||
) // {
|
||||
overlay =
|
||||
(final: super: {
|
||||
napalm = import inputs.napalm { pkgs = super; };
|
||||
mmelodies = {
|
||||
frontend = final.callPackage ./default.nix {};
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue