From ad567c3e3f40e603cc3428feb0482fea41b5fe41 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 12 Jun 2026 13:07:02 -0700 Subject: [PATCH] Build Heroic account switching app payload --- nixos/games.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/games.nix b/nixos/games.nix index 410f0978..b4eebcc4 100644 --- a/nixos/games.nix +++ b/nixos/games.nix @@ -7,11 +7,15 @@ ... }: let heroicAccountSwitchingVersion = "${pkgs.heroic.version}-epic-account-switching-${inputs.heroic-games-launcher.shortRev or "dirty"}"; - heroicWithEpicAccountSwitching = pkgs.heroic.overrideAttrs (oldAttrs: { - name = "${oldAttrs.pname or "heroic"}-${heroicAccountSwitchingVersion}"; + heroicUnwrappedWithEpicAccountSwitching = pkgs.heroic-unwrapped.overrideAttrs (oldAttrs: { + name = "${oldAttrs.pname or "heroic-unwrapped"}-${heroicAccountSwitchingVersion}"; version = heroicAccountSwitchingVersion; src = inputs.heroic-games-launcher; + pnpmDeps = oldAttrs.pnpmDeps; }); + heroicWithEpicAccountSwitching = pkgs.heroic.override { + heroic-unwrapped = heroicUnwrappedWithEpicAccountSwitching; + }; repairXwaylandSocket = pkgs.writeShellApplication { name = "repair-xwayland-socket"; text = ''