diff options
author | Sebastian Ullrich <sebasti@nullri.ch> | 2022-08-28 11:46:29 +0200 |
---|---|---|
committer | Sebastian Ullrich <sebasti@nullri.ch> | 2022-08-28 11:50:25 +0200 |
commit | 6f65c117802ef4683eeaf64bc079cc3a8b9608c2 (patch) | |
tree | 777f094996081e5b3f2fe81e7e1da78d35971661 /src/libexpr/flake/lockfile.cc | |
parent | 2b9d38130161116081d24630b99d1a437fa3bdb2 (diff) |
Fix overlapping flake follows
Diffstat (limited to 'src/libexpr/flake/lockfile.cc')
-rw-r--r-- | src/libexpr/flake/lockfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/lockfile.cc b/src/libexpr/flake/lockfile.cc index 60b52d578..384ead05b 100644 --- a/src/libexpr/flake/lockfile.cc +++ b/src/libexpr/flake/lockfile.cc @@ -338,7 +338,7 @@ void LockFile::check() for (auto & [inputPath, input] : inputs) { if (auto follows = std::get_if<1>(&input)) { - if (!follows->empty() && !get(inputs, *follows)) + if (!follows->empty() && !findInput(*follows)) throw Error("input '%s' follows a non-existent input '%s'", printInputPath(inputPath), printInputPath(*follows)); |