nur/index: reformat with black

This commit is contained in:
Jörg Thalheim 2020-03-11 15:17:25 +00:00
parent 68b79acfdd
commit 8a1473f99d
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -11,10 +11,12 @@ def index_repo(directory: Path, repo: str, expression_file: str) -> Dict[str, An
default_nix = directory.joinpath("default.nix")
fetch_source_cmd = [
"nix-build",
"--builders", "",
"--builders",
"",
"--no-out-link",
str(default_nix),
"-A", f"repo-sources.\"{repo}\"",
"-A",
f'repo-sources."{repo}"',
]
repo_path = subprocess.check_output(fetch_source_cmd).strip().decode("utf-8")