Adding specific version of Dolphin

This commit is contained in:
Lyes Saadi 2024-08-15 00:41:24 +02:00
parent 1802e5c0f7
commit a1f12efb6d
No known key found for this signature in database
GPG key ID: 17418538BAA17767
3 changed files with 31 additions and 4 deletions

View file

@ -83,6 +83,7 @@ in {
(prismlauncher.override { withWaylandGLFW = true; })
vvvvvv
ryujinx
dolphin-emu
# Nix
home-manager
@ -189,7 +190,6 @@ in {
"dev.tchx84.Gameeky.ThematicPack.FreedomValley"
"dev.tchx84.Gameeky.ThematicPack.Blasterman"
"dev.tchx84.Gameeky.ThematicPack.Wackman"
{ appId = "org.DolphinEmu.dolphin-emu"; commit = "187e367202f4ec0a50b94d700aa50c04142d13561e3054fcf1030380d3ae86a6"; }
# Programming
{ appId = "org.gnome.Builder.Devel"; origin = "gnome-nightly"; }
@ -200,4 +200,27 @@ in {
update.onActivation = true;
update.auto.enable = true;
};
# Version pins
nixpkgs.overlays = [ (final: prev: {
dolphin-emu = prev.dolphin-emu.overrideAttrs (super: {
version = "2407";
commit = "b92e354389bb7c0bd114a8631b8af110d3cb3a14";
src = pkgs.fetchFromGitHub {
owner = "dolphin-emu";
repo = "dolphin";
rev = "heads/refs/tags/${final.dolphin-emu.version}";
hash = "sha256-8W4KyIj+rhDkWnQogjpzlEJVo3HJenfpWKimSyMGN7c=";
fetchSubmodules = true;
};
cmakeFlags = [
"-DDISTRIBUTOR=NixOS"
"-DDOLPHIN_WC_BRANCH=${final.dolphin-emu.src.rev}"
"-DDOLPHIN_WC_DESCRIBE=${final.dolphin-emu.version}"
"-DDOLPHIN_WC_REVISION=${final.dolphin-emu.commit}"
];
});
}) ];
}