steam: move defaults to package file
This commit is contained in:
parent
c7675be3c1
commit
1a69c20e60
@ -1,11 +1,13 @@
|
|||||||
{ stdenv, lib, writeScript, buildFHSUserEnv, steam, glxinfo-i686
|
{ config, stdenv, lib, writeScript, buildFHSUserEnv, steam, glxinfo-i686
|
||||||
, steam-runtime-wrapped, steam-runtime-wrapped-i686 ? null
|
, steam-runtime-wrapped, steam-runtime-wrapped-i686 ? null
|
||||||
, withJava ? false
|
|
||||||
, withPrimus ? false
|
|
||||||
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
|
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
|
||||||
, extraProfile ? "" # string to append to profile
|
, extraProfile ? "" # string to append to profile
|
||||||
, nativeOnly ? false
|
, nativeOnly ? false
|
||||||
, runtimeOnly ? false
|
, runtimeOnly ? false
|
||||||
|
|
||||||
|
# DEPRECATED
|
||||||
|
, withJava ? config.steam.java or false
|
||||||
|
, withPrimus ? config.steam.primus or false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -21004,11 +21004,7 @@ in
|
|||||||
|
|
||||||
steamPackages = callPackage ../games/steam { };
|
steamPackages = callPackage ../games/steam { };
|
||||||
|
|
||||||
steam = steamPackages.steam-chrootenv.override {
|
steam = steamPackages.steam-chrootenv;
|
||||||
# DEPRECATED
|
|
||||||
withJava = config.steam.java or false;
|
|
||||||
withPrimus = config.steam.primus or false;
|
|
||||||
};
|
|
||||||
|
|
||||||
steam-run = steam.run;
|
steam-run = steam.run;
|
||||||
steam-run-native = (steam.override {
|
steam-run-native = (steam.override {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user