mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
heroic: add extraEnv input
Environment variables to pass to Heroic.
For example:
pkgs.heroic.override {
extraEnv.PROTON_ENABLE_WAYLAND = true;
}
Adds feature parity with `steam` package.
This commit is contained in:
parent
3109eaae18
commit
6b9bf6240f
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue