accept flake config by default

This commit is contained in:
2025-04-02 17:46:47 -04:00
parent 88a8981713
commit b31026260a
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ def evaluate_output(path: str, output: str) -> str | None:
:raises RuntimeError: evaluation succeeds but no derivation is found
"""
logger.info(f"evaluating {output}")
out = bash_wrapper(f"nix eval {path}#{output}")
out = bash_wrapper(f"nix eval {path}#{output} --accept-flake-config")
logger.debug(out[0])
logger.debug(out[1])
logger.debug(out[2])