diff options
-rw-r--r-- | pkgs/tools/games/alice-tools/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/games/alice-tools/default.nix b/pkgs/tools/games/alice-tools/default.nix index d10ce8e65ab6c..07d96cbd03fa0 100644 --- a/pkgs/tools/games/alice-tools/default.nix +++ b/pkgs/tools/games/alice-tools/default.nix @@ -33,8 +33,12 @@ stdenv.mkDerivation (finalAttrs: { }; postPatch = lib.optionalString (withGUI && lib.versionAtLeast qtbase.version "6.0") '' + # Use Meson's Qt6 module substituteInPlace src/meson.build \ --replace qt5 qt6 + + # For some reason Meson uses QMake instead of pkg-config detection method for Qt6 on Darwin, which gives wrong search paths for tools + export PATH=${qtbase.dev}/libexec:$PATH ''; mesonFlags = lib.optionals (withGUI && lib.versionAtLeast qtbase.version "6.0") [ |