[Gaming] yuzu: disable precompiled-headers (slows down build considerably)

This commit is contained in:
Antoine Viallon 2023-08-03 18:08:07 +02:00
parent 398343a1b3
commit 1d5e9a0100
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -32,15 +32,21 @@ in {
{ assertion = cfg.gaming.enable -> !generalCfg.minimal; message = "Gaming features are incompatible with minimal mode"; } { assertion = cfg.gaming.enable -> !generalCfg.minimal; message = "Gaming features are incompatible with minimal mode"; }
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = let
gamescope my_yuzu = cfg.gaming.yuzu.package.overrideAttrs (old: {
mangohud cmakeFlags = old.cmakeFlags ++ [
lutris "-DYUZU_USE_PRECOMPILED_HEADERS=OFF"
bottles ];
] ++ optionals cfg.gaming.emulation [ });
(optimizePkg { recursive = 0; } cfg.gaming.yuzu.package) in with pkgs; [
(optimizePkg { } cfg.gaming.ryujinx.package) gamescope
]; mangohud
lutris
bottles
] ++ optionals cfg.gaming.emulation [
(optimizePkg { recursive = 0; } my_yuzu)
(optimizePkg { } cfg.gaming.ryujinx.package)
];
aviallon.windows.wine.enable = mkDefault true; aviallon.windows.wine.enable = mkDefault true;