chore(nix)!: use overlays.default

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-03-14 10:58:41 +01:00
parent a1130dace0
commit cfca82ceb3
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -37,7 +37,7 @@
aarch64-linux aarch64-linux
]; ];
packagesFn = pkgs: rec { packagesFn = pkgs: {
prismlauncher-qt5 = pkgs.libsForQt5.callPackage ./nix { prismlauncher-qt5 = pkgs.libsForQt5.callPackage ./nix {
inherit version self libnbtplusplus; inherit version self libnbtplusplus;
}; };
@ -81,7 +81,8 @@
inputsFrom = [self.packages.${system}.default]; inputsFrom = [self.packages.${system}.default];
buildInputs = with pkgs; [ccache ninja]; buildInputs = with pkgs; [ccache ninja];
}; };
})
overlay = final: packagesFn; // {
}); overlays.default = final: _: (packagesFn final);
};
} }