Change:
{ lib , stdenv , fetchFromGitHub <del> , fetchYarnDeps , yarn , fixup-yarn-lock </del> <ins> , pnpm </ins> , nodejs <del> , python3 </del> , makeWrapper , electron , vulkan-helper , gogdl , legendary-gl , nile <ins> , comet-gog </ins> }: <del> let appName = "heroic"; in stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "heroic-unwrapped"; <del> version = "2.14.1"; </del> <ins> version = "2.15.1"; </ins> src = fetchFromGitHub { owner = "Heroic-Games-Launcher"; repo = "HeroicGamesLauncher"; <del> rev = "v${version}"; hash = "sha256-AnyltqNP+XyVzgCobM3g6DIXntD3spKecYtCRx+8oic="; </del> <ins> rev = "v${finalAttrs.version}"; hash = "sha256-+OQRcBOf9Y34DD7FOp/3SO05mREG6or/HPiOkasHWPM="; </ins> }; <del> offlineCache = fetchYarnDeps { yarnLock = "${src}/yarn.lock"; hash = "sha256-3CYSw1Qy363eyhy3UyFgihSau+miNHwvKjhlq/kWxWQ="; </del> <ins> pnpmDeps = pnpm.fetchDeps { inherit (finalAttrs) pname version src; hash = "sha256-3PiB8CT7wxGmvRuQQ5FIAmBqBm9+R55ry+N/qUYWzuk="; </ins> }; nativeBuildInputs = [ <del> yarn fixup-yarn-lock </del> nodejs <del> python3 </del> <ins> pnpm.configHook </ins> makeWrapper ]; patches = [ <del> # Reverts part of upstream PR 2761 so that we don't have to use a non-free Electron fork. # https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/2761 ./remove-drm-support.patch </del> # Make Heroic create Steam shortcuts (to non-steam games) with the correct path to heroic. ./fix-non-steam-shortcuts.patch ];

Discussion:
Package name: heroic Latest released version: 2.15.1 <!-- Search your package here: --- Current version on the unstable channel: 2.14.1 Current version on the stable/release channel: 2.14.1 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Need to wait for to be merged, because upstream depends on Electron 31, but the latest currently in nixpkgs is 30.
you can make draft PR and wait :D
Also does UMU need to be packaged for this release?
I think so. Even though Heroic 2.15 downloads UMU, the version it fetches is outdated, (according to one of the developers, in the project discord server).
Actually, given that , and Heroic can download a working version, just without the latest fixes, I am opting to not package UMU in nixpkgs.

Stardew Valley isn't opening in the nixpkgs' Heroic Launcher, and I think there're missing dependencies. Steps to reproduce the behavior: the Heroic Launcher and installs Stardew Valley from GOG running the game The game would open as usual The logs: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Stardew Valley depends on an outdated version of OpenSSL that is insecure IIRC (see also ) I just play the Windows version via Wine, also from Heroic Launcher (on the Steam Deck) and that works just fine, if it's acceptable to you I'd just do that instead of trying to hunt down an ancient version of a library.
Thanks for the explanation! Installing the Windows version worked as expected.
That turns out not to be the case here. I happen to own the GOG version of this game, so I was able to test this. It complains about missing ICU; once I that to the Heroic FHS environment, it launched just fine. Will submit a PR.