diff --git a/tests/functional/package.nix b/tests/functional/package.nix index a36c2e2d3..6830a9e58 100644 --- a/tests/functional/package.nix +++ b/tests/functional/package.nix @@ -60,7 +60,10 @@ mkMesonDerivation ( ]; nativeBuildInputs = finalAttrs.passthru.externalNativeBuildInputs ++ [ - nix-cli + # Explicitly splice the hostHost variant to fix LLVM tests. The nix-cli + # has to be in PATH, but must come from the host context where it's built + # with libc++. + (nix-cli.__spliced.hostHost or nix-cli) ]; buildInputs = [