diff options
author | aszlig <aszlig@nix.build> | 2018-02-01 21:49:49 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-02-01 22:28:28 +0100 |
commit | 349b2a4232e2a3dfe25b7509cb9d77c7d2a10377 (patch) | |
tree | b40221ea3f0b44ce0d9842bff5af14f5423c7caa /pkgs/default.nix | |
parent | 4af374e2c191465de99d4169376e1a9430302e82 (diff) |
auto-patchelf: Move into pkgs/build-support
This is really not game-specific, so let's put it at the top-level and also make sure we substitute all the commands we're using there, even though a few of them are in PATH of stdenv so that it will always work even when the programs available in stdenv should change someday. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r-- | pkgs/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 5e6530ab..cd4eb76c 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -13,11 +13,12 @@ let self.vuizvui = pkgs.recurseIntoAttrs { mkChannel = callPackage ./build-support/channel.nix { }; buildSandbox = callPackage build-support/build-sandbox {}; + autoPatchelfHook = callPackage build-support/auto-patchelf {}; list-gamecontrollers = callPackage ./list-gamecontrollers { }; games = import ./games { - inherit pkgs; + pkgs = pkgs // self.vuizvui; config = pkgs.config.vuizvui.games or null; }; |