diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 60667e7d4c69987..fbd9343bffbfc5d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5551,7 +5551,7 @@ with pkgs; ''; }; } ../development/tools/build-managers/meson/emulator-hook.sh - else throw "mesonEmulatorHook has to be in a conditional to check if the target binaries can be executed i.e. (!stdenv.buildPlatform.canExecute stdenv.hostPlatform)"; + else throw "mesonEmulatorHook has to be in a conditional to check if the target binaries can be executed i.e. (!stdenv.buildPlatform.canExecute stdenv.targetPlatform)"; meson-tools = callPackage ../misc/meson-tools { };