Adds overlay.

This commit is contained in:
Bailey Stevens 2023-09-24 13:21:22 -04:00
parent 08f64404ba
commit 3d8c6bbe52

View file

@ -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 {};
};
});
};
}