diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-18 17:08:17 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-18 17:08:17 +0200 |
commit | 2ed9b44d0c5249d1d17f5ff542030a380d7eca07 (patch) | |
tree | bbeaaafcd2be4a126d8fd659fb16e20fb95e9ef6 /pkgs/top-level | |
parent | 6fb1efb2d718bd1403090bd3226ade13e25dd283 (diff) |
libsForQt5.qtkeychain: fix build on x86_64-darwin
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/qt5-packages.nix | 3 |
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 { }; |