chore(flake): move 'inputs-from' into templates handling

This commit is contained in:
Johannes Kirschbauer
2025-06-09 20:40:20 +02:00
parent 03a2412227
commit 8360ee58b5
2 changed files with 17 additions and 8 deletions

View File

@@ -568,7 +568,6 @@ class Flake:
"""
identifier: str
inputs_from: str | None = None
hash: str | None = None
store_path: str | None = None
@@ -634,9 +633,6 @@ class Flake:
self.identifier,
]
if self.inputs_from:
cmd += ["--inputs-from", self.inputs_from]
flake_prefetch = run(nix_command(cmd))
flake_metadata = json.loads(flake_prefetch.stdout)
self.store_path = flake_metadata["storePath"]