Merge pull request #265134 from amjoseph-nixpkgs/fix-path-to-emulator-hook
This commit is contained in:
commit
660a8f6880
@ -5997,7 +5997,7 @@ with pkgs;
|
||||
# outer level, but not its outPath can still be evaluated if the condition
|
||||
# doesn't hold. This ensures that splicing still can work correctly.
|
||||
(if (!stdenv.hostPlatform.canExecute stdenv.targetPlatform) then
|
||||
../development/tools/build-managers/meson/emulator-hook.sh
|
||||
../by-name/me/meson/emulator-hook.sh
|
||||
else
|
||||
throw "mesonEmulatorHook may only be added to nativeBuildInputs when the target binaries can't be executed; however you are attempting to use it in a situation where ${stdenv.hostPlatform.config} can execute ${stdenv.targetPlatform.config}. Consider only adding mesonEmulatorHook according to a conditional based canExecute in your package expression.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user