steam: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:30 +00:00
parent c7675be3c1
commit 1a69c20e60
2 changed files with 6 additions and 8 deletions

View File

@ -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
, withJava ? false
, withPrimus ? false
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
, extraProfile ? "" # string to append to profile
, nativeOnly ? false
, runtimeOnly ? false
# DEPRECATED
, withJava ? config.steam.java or false
, withPrimus ? config.steam.primus or false
}:
let

View File

@ -21004,11 +21004,7 @@ in
steamPackages = callPackage ../games/steam { };
steam = steamPackages.steam-chrootenv.override {
# DEPRECATED
withJava = config.steam.java or false;
withPrimus = config.steam.primus or false;
};
steam = steamPackages.steam-chrootenv;
steam-run = steam.run;
steam-run-native = (steam.override {