steam: add primus support

This commit is contained in:
Nikolay Amiantov 2015-03-09 23:01:43 +03:00
parent a1440a679d
commit c16188343a

View File

@ -1,4 +1,4 @@
{ buildFHSUserEnv, config }:
{ lib, buildFHSUserEnv, config }:
buildFHSUserEnv {
name = "steam";
@ -14,7 +14,8 @@ buildFHSUserEnv {
pkgs.gnome2.zenity
pkgs.xdg_utils
]
++ (if config.steam.java or false then [ pkgs.jdk ] else [ ])
++ lib.optional (config.steam.java or false) pkgs.jdk
++ lib.optional (config.steam.primus or false) pkgs.primus
;
multiPkgs = pkgs: