about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-18 21:37:41 +0200
committerGitHub <noreply@github.com>2023-09-18 21:37:41 +0200
commit110ad0ed8f8f75e39225c626686951e4fbea0683 (patch)
treebcdcb6868804d5d1ffaeb4633afceb51d57d59de /pkgs/top-level
parente21717896d4afbade366f5bb53b36af6214cdc9c (diff)
parent2ed9b44d0c5249d1d17f5ff542030a380d7eca07 (diff)
Merge pull request #255911 from wegank/qtkeychain-darwin
libsForQt5.qtkeychain: fix build on x86_64-darwin
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/qt5-packages.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/top-level/qt5-packages.nix b/pkgs/top-level/qt5-packages.nix
index 58c2e20018390..93cb2c9a13725 100644
--- a/pkgs/top-level/qt5-packages.nix
+++ b/pkgs/top-level/qt5-packages.nix
@@ -207,7 +207,8 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
   qtinstaller = callPackage ../development/libraries/qtinstaller { };
 
   qtkeychain = callPackage ../development/libraries/qtkeychain {
-    inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
+    stdenv = if pkgs.stdenv.isDarwin then pkgs.darwin.apple_sdk_11_0.stdenv else pkgs.stdenv;
+    inherit (pkgs.darwin.apple_sdk_11_0.frameworks) CoreFoundation Security;
   };
 
   qtmpris = callPackage ../development/libraries/qtmpris { };