From 349b2a4232e2a3dfe25b7509cb9d77c7d2a10377 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 1 Feb 2018 21:49:49 +0100 Subject: 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 --- pkgs/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/default.nix') 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; }; -- cgit 1.4.1