diff --git a/src/nix/flake.cc b/src/nix/flake.cc index f92c3249994..76e37454eba 100644 --- a/src/nix/flake.cc +++ b/src/nix/flake.cc @@ -820,8 +820,6 @@ struct CmdFlakeCheck : FlakeCommand // not actually produce the outputs. state->waitForAllPaths(); auto missing = store->queryMissing(drvPaths); - // Only occurs if `drvPaths` contains a `DerivedPath::Opaque`, which should never happen - assert(missing.unknown.empty()); std::vector toBuild; for (auto & path : missing.willBuild) {