Change:
Heroic Launcher while trying to install a game from gog will download it, but won't install it. You can see downloaded installer inside your directory. After "installation", launcher will say on the game's details screen that It should install. ! You can't just use the gog installer like in a normal linux distribution: So you need to use steam-run to install it. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --heroic-launcher: 2.9.2 - unstable nixpkgs
This sounds exactly like a bug I encountered in a previous version of Heroic, but they have since fixed it, and I have not run into it on 2.9.2. Could you please attach the Heroic log file from right after trying to install the game? It's accessible via the sidebar Settings-Log.
<details</details
It looks like it successfully installs, going by that log. I seem to vaguely recall now having some issues with my GOG library in Heroic 2.9.2, and I eventually removed (with Heroic closed) and logged in to GOG through Heroic again, and it's been behaving since. You might try that, otherwise I don't see anything indicating this would be an issue specific to the Heroic package, so I think it would be appropriate to go to upstream's support channel, which is .
I will try moving to nixpkgs unstable and see if it was an issue of using stable and unstable in the same time. It should not, but maybe it is. Thank you for your help PS. I tried different game and the situation is still the same.
I found that heroic needs unzip to be installed to extract the gog linux installers. When I have somewhere in my installed packages (home or system), it just works. Probably it will have to be to the heroic wrapper.
Could you please try changing in your Nix config to the following and see if that fixes your problem?
By using: Everything started to work.

Discussion:
let appName = "heroic"; in stdenv.mkDerivation rec { pname = "heroic-unwrapped"; <del> version = "2.9.2"; </del> <ins> version = "2.10.0"; </ins> src = fetchFromGitHub { owner = "Heroic-Games-Launcher"; repo = "HeroicGamesLauncher"; rev = "v${version}"; <del> hash = "sha256-kCvMUhN1kjGb5rV+lkKm1FFYBJUSQGOKTY1DQdiAWLU="; </del> <ins> hash = "sha256-umPQIxwIahjbO4QbkKEoeSSeYT2UatsTGRPrLgw5KW8="; </ins> }; offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; <del> hash = "sha256-kHZL7TENVK58dvr8PBFtWYZ2PSKEYESX4e1xYmMA5+Y="; </del> <ins> hash = "sha256-o5ztk4okH21Op1jqHZfranR12M8B1Y/K95aWb10tf5o="; </ins> }; nativeBuildInputs = [

./remove-drm-support.patch # Make Heroic create Steam shortcuts (to non-steam games) with the correct path to heroic. ./fix-non-steam-shortcuts.patch <ins> # Fix reg add infinite loop # Submitted upstream: https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/3210 ./fix-infinite-loop.patch </ins> ]; <ins> postPatch = '' # We are not packaging this as an Electron application bundle, so Electron # reports to the application that is is not "packaged", which causes Heroic # to take some incorrect codepaths meant for development environments. substituteInPlace src/**/*.ts --replace 'app.isPackaged' 'true' ''; </ins> configurePhase = '' runHook preConfigure

perl psmisc python3 <ins> unzip </ins> which xorg.xrandr zstd

<ins> From b698779053b7ba31bd8e69b230e86515e3019bf6 Mon Sep 17 00:00:00 2001 From: K900 <me@0upti.me> Date: Sun, 5 Nov 2023 22:04:32 +0300 Subject: [PATCH] Force add the registry entry Otherwise, newer Wine versions will prompt to overwrite it and loop there forever. --- src/backend/storeManagers/legendary/setup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storeManagers/legendary/setup.ts b/src/backend/storeManagers/legendary/setup.ts index 1837106621..b5c2432435 100644 --- a/src/backend/storeManagers/legendary/setup.ts +++ b/src/backend/storeManagers/legendary/setup.ts @@ -20,7 +20,7 @@ export const legendarySetup = async (appName: string) => { // Fixes games like Fallout New Vegas and Dishonored: Death of the Outsider await runWineCommandOnGame(appName, { -    commandParts: ['reg', 'add', 'HKEY_CLASSES_ROOTcom.epicgames.launcher'], +    commandParts: ['reg', 'add', 'HKEY_CLASSES_ROOTcom.epicgames.launcher', '/f'], wait: true, protonVerb: 'waitforexitandrun' }) </ins>

diff --git a/src/backend/main.ts b/src/backend/main.ts <del> index 2cd1a28f..a60e04d0 100644 </del> <ins> index 83b58bb2..f61656fa 100644 </ins> --- a/src/backend/main.ts +++ b/src/backend/main.ts <del> @@ -19,8 +19,7 @@ import { powerSaveBlocker, </del> <ins> @@ -19,7 +19,6 @@ import { </ins> protocol, screen, <del> -  clipboard, -  components +  clipboard </del> <ins> clipboard, -  components, session </ins> } from 'electron' import 'backend/updater' <del> import { autoUpdater } from 'electron-updater' @@ -286,8 +285,7 @@ if (!gotTheLock) { initImagesCache() </del> <ins> @@ -310,14 +309,7 @@ if (!gotTheLock) { } </ins> if (!process.env.CI) { <del> -      await components.whenReady() </del> <ins> -      await components.whenReady().catch((e) => { -        logError([ -          'Failed to download / update DRM components.', -          'Make sure you do not block update.googleapis.com domain if you want to use WideVine in Browser sideloaded apps', -          e -        ]) -      }) </ins> -      logInfo(['DRM module staus', components.status()]) +      logInfo('DRM modules disabled for nixpkgs') }

buildPythonApplication rec { pname = "legendary-gl"; # Name in pypi <del> version = "0.20.33"; </del> <ins> version = "unstable-2023-10-14"; </ins> src = fetchFromGitHub { owner = "derrod"; repo = "legendary"; <del> rev = "refs/tags/${version}"; sha256 = "sha256-fEQUChkxrKV2IkFGORUolZE2qTzA10Xxogjl5Va4TcE="; </del> <ins> rev = "450784283dd49152dda6322db2fb2ef33e7c382e"; sha256 = "sha256-iwIaxD35tkOX6NX1SVNmN2OQACwaX/C4xnfgT5YcUvg="; </ins> }; propagatedBuildInputs = [

buildPythonApplication rec { pname = "nile"; <del> version = "1.0.0"; </del> <ins> version = "unstable-2023-10-03"; </ins> format = "pyproject"; src = fetchFromGitHub { owner = "imLinguin"; repo = "nile"; <del> rev = "f5f3b96f6483c59cfc646afbda6e97cb0bd94778"; hash = "sha256-HibY3U9/MibEDwHY+YiErW/pz6qwtps8wwjhznTISgA="; </del> <ins> rev = "8f7ab2650fc730efc8960b5fcd71421d724a4108"; hash = "sha256-Vhjp9JX8VX0PWsvEh5eOhz7vsIEaiCyPNPOjibE8GXo="; </ins> }; disabled = pythonOlder "3.8";

heroic-unwrapped = callPackage ../games/heroic { # Match the version used by the upstream package. <del> electron = electron_24; </del> <ins> electron = electron_27; </ins> }; heroic = callPackage ../games/heroic/fhsenv.nix { };