From 0edad9f5c8d3deb6950537256f6077c2b086896c Mon Sep 17 00:00:00 2001 From: ajs124 Date: Sun, 3 Jun 2018 23:49:27 +0200 Subject: [PATCH] steam: add optional extraProfile --- pkgs/games/steam/chrootenv.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index c44a166268c..4de5f660818 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -3,6 +3,7 @@ , withJava ? false , withPrimus ? false , extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs +, extraProfile ? "" # string to append to profile , nativeOnly ? false , runtimeOnly ? false }: @@ -178,7 +179,7 @@ in buildFHSUserEnv rec { profile = '' export STEAM_RUNTIME=${if nativeOnly then "0" else "/steamrt"} - ''; + '' + extraProfile; runScript = writeScript "steam-wrapper.sh" '' #!${stdenv.shell}