From f4d71737a8af1666f13bc25ab999fc7b792f1876 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 15 Jan 2016 14:57:17 +0300 Subject: steam: propagate runtime-wrapped flags for more convenient overrides --- pkgs/games/steam/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pkgs/games/steam') diff --git a/pkgs/games/steam/default.nix b/pkgs/games/steam/default.nix index 64f8cfe2c287..dd02903dcb28 100644 --- a/pkgs/games/steam/default.nix +++ b/pkgs/games/steam/default.nix @@ -1,11 +1,17 @@ -{ pkgs, newScope }: +{ pkgs, newScope +, nativeOnly ? false +, runtimeOnly ? false +, newStdcpp ? false +}: let callPackage = newScope self; self = rec { steam-runtime = callPackage ./runtime.nix { }; - steam-runtime-wrapped = callPackage ./runtime-wrapped.nix { }; + steam-runtime-wrapped = callPackage ./runtime-wrapped.nix { + inherit nativeOnly runtimeOnly newStdcpp; + }; steam = callPackage ./steam.nix { }; steam-chrootenv = callPackage ./chrootenv.nix { }; steam-fonts = callPackage ./fonts.nix { }; -- cgit 1.4.1