fix: re-use self.packages for the overlays

Co-authored-by: XYenon <register@xyenon.bid>
This commit is contained in:
musjj 2023-10-18 01:20:08 +07:00 committed by GitHub
parent 0cbe271a2b
commit 1237ac82ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,11 +22,11 @@
devShells.default = import ./nix/shell.nix { inherit pkgs inputs; };
})
// rec {
overlays = {
default = overlays.yazi;
// {
overlays = rec {
default = yazi;
yazi = final: prev: {
yazi = final.callPackage ./nix/yazi.nix { };
yazi = self.packages."${final.system}".yazi;
};
};
};