Use system from prev in overlay

This commit is contained in:
niten 2022-08-22 12:59:12 -07:00
parent 36e5d96b6b
commit a9206a7a3d
1 changed files with 3 additions and 0 deletions

View File

@ -39,5 +39,8 @@
pkgs.mkShell { buildInputs = with pkgs; [ update-deps ]; }; pkgs.mkShell { buildInputs = with pkgs; [ update-deps ]; };
}) // { }) // {
nixosModules.default = import ./module.nix; nixosModules.default = import ./module.nix;
overlays.default = final: prev: {
fudo-pricebot = self.packages."${prev.system}".fudo-pricebot;
};
}; };
} }