"""pytest plugin for a card box that must not compile: the AOT bake comes from a builder."""

import os
from pathlib import Path

import tests._aot_bake as bake


def _from_builder(tmp_path_factory, kernels):  # noqa: ARG001
    return Path(os.environ["NORM_AOT_DIR"])


bake.bake_or_package = _from_builder
