Roles/gaming: fix emulator build issues

This commit is contained in:
Toast 2025-10-24 01:08:59 +02:00
parent e15a9c0c01
commit 65eb518651
4 changed files with 110 additions and 13 deletions

View file

@ -1,17 +1,19 @@
{pkgs, ...}: {
# nixpkgs.overlays = [
# (
# final: prev: {
# azahar = prev.azahar.overrideAttrs (old: {
# version = "2120.3";
# src = final.fetchzip {
# url = "https://github.com/azahar-emu/azahar/releases/download/2120.3/azahar-unified-source-20250414-00e3bbb.tar.xz";
# hash = "sha256-3QKicmpmWDM7x9GDJ8sxm2Xu+0Yfho4LkSWMp+ixzRk=";
# };
# });
# }
# )
# ];
nixpkgs.overlays = [
(
final: prev: {
azahar = prev.azahar.overrideAttrs (old: {
patches = old.patches ++ [(
final.fetchpatch {
name = "fix-build-qt-6.10.patch";
url = "https://github.com/azahar-emu/azahar/pull/1441.patch";
hash = "sha256-PTnhFpuGoF6qPIwupdcRo6s+Tzhj0JR0QwoCgxgGxAw=";
}
)];
});
}
)
];
home-manager.users.toast = {
home.packages = [pkgs.azahar];
};