[Backport release-26.05] heroic: add extraEnv input (#526841)

This commit is contained in:
Matt Sturgeon
2026-06-01 19:43:42 +00:00
committed by GitHub

View File

@@ -3,6 +3,7 @@
heroic-unwrapped,
extraPkgs ? pkgs: [ ],
extraLibraries ? pkgs: [ ],
extraEnv ? { },
}:
steam.buildRuntimeEnv {
@@ -12,7 +13,7 @@ steam.buildRuntimeEnv {
runScript = "heroic";
extraPkgs = pkgs: [ heroic-unwrapped ] ++ extraPkgs pkgs;
inherit extraLibraries;
inherit extraLibraries extraEnv;
extraInstallCommands = ''
mkdir -p $out/share