summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-15 21:45:37 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-17 23:26:08 +0700
commit16d91ee628d781c721506b19e3e03bed810327e8 (patch)
treef65e50a70b4ff72314f384c6b29f4902b03f45f3 /pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
parent979e6e67d32a934dcc39dedfd588baf6e3f7ed78 (diff)
downloadnixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar
nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.gz
nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.bz2
nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.lz
nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.xz
nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.tar.zst
nixpkgs-16d91ee628d781c721506b19e3e03bed810327e8.zip
pkgs/os-specific: stdenv.lib -> lib
Diffstat (limited to 'pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix')
-rw-r--r--pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix b/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
index 059cb70bfbd..9f0ee4db118 100644
--- a/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
+++ b/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }:
+{ lib, stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }:
 
 let
   # 10.12 adds a new sysdir.h that our version of CF in the main derivation depends on, but
@@ -74,7 +74,7 @@ stdenv.mkDerivation {
   # Based on testing this issue seems to only occur with clang_7, so
   # please remove this when updating the default llvm versions to 8 or
   # later.
-  buildPhase = stdenv.lib.optionalString true ''
+  buildPhase = lib.optionalString true ''
     for i in {1..512}; do
         if ninja -j $NIX_BUILD_CORES; then
             break