diff --git a/src/nix/flake.cc b/src/nix/flake.cc index 18be64bba..f4850fa92 100644 --- a/src/nix/flake.cc +++ b/src/nix/flake.cc @@ -798,8 +798,6 @@ struct CmdFlakeCheck : FlakeCommand // via substitution, as `nix flake check` only needs to verify buildability, // not actually produce the outputs. 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) {