mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Merge pull request #14485 from NixOS/backport-14482-to-2.32-maintenance
[Backport 2.32-maintenance] nix flake check: Remove incorrect assertion
This commit is contained in:
commit
5c9e22d75a
1 changed files with 0 additions and 2 deletions
|
|
@ -798,8 +798,6 @@ struct CmdFlakeCheck : FlakeCommand
|
||||||
// via substitution, as `nix flake check` only needs to verify buildability,
|
// via substitution, as `nix flake check` only needs to verify buildability,
|
||||||
// not actually produce the outputs.
|
// not actually produce the outputs.
|
||||||
auto missing = store->queryMissing(drvPaths);
|
auto missing = store->queryMissing(drvPaths);
|
||||||
// Only occurs if `drvPaths` contains a `DerivedPath::Opaque`, which should never happen
|
|
||||||
assert(missing.unknown.empty());
|
|
||||||
|
|
||||||
std::vector<DerivedPath> toBuild;
|
std::vector<DerivedPath> toBuild;
|
||||||
for (auto & path : missing.willBuild) {
|
for (auto & path : missing.willBuild) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue