From e273773c4e66c2e553e1cbf0c453fc225fe808e3 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 13 Sep 2017 06:04:38 +0200 Subject: pkgs/build-game: Add runtimeDependencies attribute This allows us to add libraries to the RPATH despite being required by the respective game. By default there is only PulseAudio at the moment. Signed-off-by: aszlig --- pkgs/games/build-support/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/games/build-support/default.nix') diff --git a/pkgs/games/build-support/default.nix b/pkgs/games/build-support/default.nix index 23e03c3b..8e227afc 100644 --- a/pkgs/games/build-support/default.nix +++ b/pkgs/games/build-support/default.nix @@ -1,6 +1,8 @@ -{ callPackage, ... }: +{ config, callPackage, ... }: { - buildGame = callPackage ./build-game.nix {}; + buildGame = callPackage ./build-game.nix { + withPulseAudio = config.pulseaudio or true; + }; buildUnity = callPackage ./build-unity.nix {}; } -- cgit 1.4.1