diff --git a/pkgs/development/libraries/qt-5/modules/qtbase.nix b/pkgs/development/libraries/qt-5/modules/qtbase.nix index 1ed4bfc8b2c2..1ca065e94ce9 100644 --- a/pkgs/development/libraries/qt-5/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-5/modules/qtbase.nix @@ -90,6 +90,7 @@ stdenv.mkDerivation (finalAttrs: ({ ++ lib.optional (postgresql != null) postgresql; nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which ] + ++ lib.optionals (mysqlSupport) [ libmysqlclient ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild ]; } // lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) { @@ -101,6 +102,8 @@ stdenv.mkDerivation (finalAttrs: ({ propagatedNativeBuildInputs = [ lndir ]; + strictDeps = true; + # libQt5Core links calls CoreFoundation APIs that call into the system ICU. Binaries linked # against it will crash during build unless they can access `/usr/share/icu/icudtXXl.dat`. propagatedSandboxProfile = lib.optionalString stdenv.hostPlatform.isDarwin ''