fix flake show

This commit is contained in:
2025-05-26 22:33:15 -04:00
parent 2cc162404b
commit a8dad4af5b
3 changed files with 12 additions and 5 deletions

View File

@ -23,7 +23,9 @@ def build_output(path: str, output: str) -> str | None:
"""
logger.info(f"build {output}")
logger.debug(f"outputting to {OUTPUT_DIR}/{output}.nixoutput")
out = bash_wrapper(f"nix build {path}#{output} -o {OUTPUT_DIR}/{output}.nixoutput --accept-flake-config")
out = bash_wrapper(
f"nix build {path}#{output} -o {OUTPUT_DIR}/{output}.nixoutput --accept-flake-config"
)
logger.debug("output")
logger.debug(out[0])
logger.debug("error")