mirror of
https://github.com/NixOS/nix
synced 2025-07-05 20:41:47 +02:00
Revert "Merge pull request #6621 from Kha/nested-follows"
This reverts commitc530cda345
, reversing changes made to4adcdff5c1
.
This commit is contained in:
parent
c530cda345
commit
a8b3d777fb
3 changed files with 14 additions and 95 deletions
|
@ -338,7 +338,7 @@ void LockFile::check()
|
|||
|
||||
for (auto & [inputPath, input] : inputs) {
|
||||
if (auto follows = std::get_if<1>(&input)) {
|
||||
if (!follows->empty() && !findInput(*follows))
|
||||
if (!follows->empty() && !get(inputs, *follows))
|
||||
throw Error("input '%s' follows a non-existent input '%s'",
|
||||
printInputPath(inputPath),
|
||||
printInputPath(*follows));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue