mirror of
https://github.com/oxalica/nil.git
synced 2024-09-11 18:47:13 +03:00
Do not evaluate non-flake inputs
This commit is contained in:
parent
1482f7b706
commit
bca539e4b9
@ -418,7 +418,8 @@ impl Server {
|
||||
.iter()
|
||||
.filter_map(|(input_name, path)| {
|
||||
let path = path.as_path().expect("Must be real paths");
|
||||
path.exists().then_some((input_name, path))
|
||||
// FIXME: Filter `flake = true` inputs.
|
||||
path.join(FLAKE_FILE).exists().then_some((input_name, path))
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user