about summary refs log tree commit diff
path: root/pkgs/games/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-31 01:48:13 +0200
committeraszlig <aszlig@nix.build>2018-07-31 01:48:13 +0200
commite5afeaad30a27e44a18c9acf78d35bc59ff98046 (patch)
tree16c9df61873944ad61514b04553a4611bf29587c /pkgs/games/default.nix
parente9bb11e89fb728fe2127f5ac24a15df7b3c393ad (diff)
games: Add a new gogUnpackHook
This should make all the extra unpackCmd attributes for the GOG games
superfluous and make the expression way less convoluted, especially the
games based on Unity3D.

Right now however, the gogUnpackHook is added to buildGame, which is
used for all games, not only for the GOG ones. While it doesn't really
hurt or affect non-GOG games, it's still part of the build closure so we
might want to apply this to GOG only at some day.

For that, we need to restructure our whole packaging layout, because we
want to have a way to override buildGame only for a certain namespace
but without introducing too much churn or duplicating things.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @layus
Diffstat (limited to 'pkgs/games/default.nix')
-rw-r--r--pkgs/games/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/games/default.nix b/pkgs/games/default.nix
index bead9271..71ccdf5e 100644
--- a/pkgs/games/default.nix
+++ b/pkgs/games/default.nix
@@ -23,6 +23,7 @@ let
     self = import ./build-support {
       inherit (super) config;
       callPackage = pkgs.lib.callPackageWith (super // self);
+      callPackages = pkgs.lib.callPackagesWith (super // self);
     };
   in self;