about summary refs log tree commit diff
path: root/pkgs/games/build-support/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-09-13 06:04:38 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-09-13 15:26:33 +0200
commite273773c4e66c2e553e1cbf0c453fc225fe808e3 (patch)
tree80a9b690daab736d0b28677a1ce4ffe5bc993aca /pkgs/games/build-support/default.nix
parentef6c66560175e4b5a798bd09caa31cd5ebad8127 (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/games/build-support/default.nix')
-rw-r--r--pkgs/games/build-support/default.nix6
1 files changed, 4 insertions, 2 deletions
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 {};
 }