chore(flake): move 'inputs-from' into templates handling
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user