summary refs log tree commit diff
path: root/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-24 00:15:07 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-24 00:16:29 +0700
commit2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4 (patch)
treefd273f1e48a30237aa9b96342f6324757a4ca09f /pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
parentec334a1b01c491faa3463c96717b71921dddef2c (diff)
downloadnixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.tar
nixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.tar.gz
nixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.tar.bz2
nixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.tar.lz
nixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.tar.xz
nixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.tar.zst
nixpkgs-2f78ee7e816ae39f86bae2e6c61b2d14d3fe3ff4.zip
pkgs/development: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/androidndk-pkgs/androidndk-pkgs.nix')
-rw-r--r--pkgs/development/androidndk-pkgs/androidndk-pkgs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix b/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
index 995789b8c1b..04dfbcbedf0 100644
--- a/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
+++ b/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ lib, stdenv
 , makeWrapper
 , runCommand, wrapBintoolsWith, wrapCCWith
 , buildAndroidndk, androidndk, targetAndroidndkPkgs
@@ -48,7 +48,7 @@ let
   hostInfo = ndkInfoFun stdenv.hostPlatform;
   targetInfo = ndkInfoFun stdenv.targetPlatform;
 
-  prefix = stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) (stdenv.targetPlatform.config + "-");
+  prefix = lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) (stdenv.targetPlatform.config + "-");
 in
 
 rec {