summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2023-06-29 20:35:48 -0400
committerRandy Eckenrode <randy@largeandhighquality.com>2023-07-02 17:56:25 -0400
commit6dbdf283cfe0620578ab198af3569195e0900a11 (patch)
tree96e372f94b0eb61a6edff0f30d991eb0ad78b28c /pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
parentaeb53a823f21caf9bbe4c30773e343ab95ff8d81 (diff)
downloadnixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.tar
nixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.tar.gz
nixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.tar.bz2
nixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.tar.lz
nixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.tar.xz
nixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.tar.zst
nixpkgs-6dbdf283cfe0620578ab198af3569195e0900a11.zip
swift-corelibs: switch to nixpkgs icu
Upstream swift-corelibs links against icu on Linux, so it is not
necessarily tied to the version of ICU provided by Apple for Darwin.

swift-corelibs and qtwebkit are the only two packages that link against
darwin.ICU. Switching to the nixpkgs icu will allow the Darwin-specific
package to be deprecated and removed eventually.
Diffstat (limited to 'pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix')
-rw-r--r--pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix b/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
index 4b99e75aad7..90282b391d9 100644
--- a/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
+++ b/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
@@ -38,6 +38,8 @@ stdenv.mkDerivation {
     # versioning and drops the prefix and suffix, so the dynamic library is named `CoreFoundation`
     # instead of `libCoreFoundation.dylib`.
     ./0006-System-CF-framework-compatibility.patch
+    # Link against the nixpkgs ICU instead of using Appleā€™s vendored version.
+    ./0007-Use-nixpkgs-icu.patch
   ];
 
   postPatch = ''