diff options
Diffstat (limited to 'pkgs/development/libraries/qt-6/default.nix')
-rw-r--r-- | pkgs/development/libraries/qt-6/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qt-6/default.nix b/pkgs/development/libraries/qt-6/default.nix index 83f9268624cc..8625dadf5233 100644 --- a/pkgs/development/libraries/qt-6/default.nix +++ b/pkgs/development/libraries/qt-6/default.nix @@ -28,7 +28,7 @@ let inherit (self) qtModule; inherit srcs python3; stdenv = - if stdenv.isDarwin + if stdenv.hostPlatform.isDarwin then overrideSDK stdenv { darwinMinVersion = "11.0"; darwinSdkVersion = "11.0"; } else stdenv; }); @@ -106,7 +106,7 @@ let qtwebengine qtwebsockets qtwebview - ] ++ lib.optionals (!stdenv.isDarwin) [ qtwayland libglvnd ])) + ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ qtwayland libglvnd ])) { }; qt3d = callPackage ./modules/qt3d.nix { }; @@ -163,7 +163,7 @@ let qtModule = callPackage ({ qtModule }: qtModule.override { stdenv = - if stdenv.isDarwin + if stdenv.hostPlatform.isDarwin then overrideSDK stdenv { darwinMinVersion = "11.0"; darwinSdkVersion = "11.0"; } else stdenv; }) |