Build Heroic account switching app payload

This commit is contained in:
2026-06-12 13:07:02 -07:00
parent 3cb49b51bc
commit ad567c3e3f

View File

@@ -7,11 +7,15 @@
... ...
}: let }: let
heroicAccountSwitchingVersion = "${pkgs.heroic.version}-epic-account-switching-${inputs.heroic-games-launcher.shortRev or "dirty"}"; heroicAccountSwitchingVersion = "${pkgs.heroic.version}-epic-account-switching-${inputs.heroic-games-launcher.shortRev or "dirty"}";
heroicWithEpicAccountSwitching = pkgs.heroic.overrideAttrs (oldAttrs: { heroicUnwrappedWithEpicAccountSwitching = pkgs.heroic-unwrapped.overrideAttrs (oldAttrs: {
name = "${oldAttrs.pname or "heroic"}-${heroicAccountSwitchingVersion}"; name = "${oldAttrs.pname or "heroic-unwrapped"}-${heroicAccountSwitchingVersion}";
version = heroicAccountSwitchingVersion; version = heroicAccountSwitchingVersion;
src = inputs.heroic-games-launcher; src = inputs.heroic-games-launcher;
pnpmDeps = oldAttrs.pnpmDeps;
}); });
heroicWithEpicAccountSwitching = pkgs.heroic.override {
heroic-unwrapped = heroicUnwrappedWithEpicAccountSwitching;
};
repairXwaylandSocket = pkgs.writeShellApplication { repairXwaylandSocket = pkgs.writeShellApplication {
name = "repair-xwayland-socket"; name = "repair-xwayland-socket";
text = '' text = ''