From ea475c1da5c33bc277c994cb50134788af054389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Tue, 10 Jul 2018 09:09:34 +0200 Subject: [PATCH] androidndk: Use `callPackage` to support overriding the `fullNdk` option --- pkgs/development/mobile/androidenv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/mobile/androidenv/default.nix b/pkgs/development/mobile/androidenv/default.nix index 7c050698391b..7d7c92cd0f57 100644 --- a/pkgs/development/mobile/androidenv/default.nix +++ b/pkgs/development/mobile/androidenv/default.nix @@ -224,7 +224,7 @@ rec { androidsdk_latest = androidsdk_8_0; - androidndk_10e = import ./androidndk.nix { + androidndk_10e = pkgs.callPackage ./androidndk.nix { inherit (buildPackages) unzip makeWrapper; inherit (pkgs) @@ -235,7 +235,7 @@ rec { sha256 = "032j3sgk93bjbkny84i17ph61dhjmsax9ddqng1zbi2p7dgl0pzf"; }; - androidndk_16b = import ./androidndk.nix { + androidndk_16b = pkgs.callPackage ./androidndk.nix { inherit (buildPackages) unzip makeWrapper; inherit (pkgs) @@ -246,7 +246,7 @@ rec { sha256 = "00frcnvpcsngv00p6l2vxj4cwi2mwcm9lnjvm3zv4wrp6pss9pmw"; }; - androidndk_17 = import ./androidndk.nix { + androidndk_17 = pkgs.callPackage ./androidndk.nix { inherit (buildPackages) unzip makeWrapper; inherit (pkgs)