Skip to content

Commit

Permalink
Update src/nix/flake.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Théophane Hufschmitt <[email protected]>
  • Loading branch information
peterbecich and thufschmitt committed May 22, 2023
1 parent 25e4864 commit a395e48
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/nix/flake.cc
Original file line number Diff line number Diff line change
Expand Up @@ -722,10 +722,11 @@ struct CmdFlakeCheck : FlakeCommand
throw Error("some errors were encountered during the evaluation");

if (!omittedSystems.empty()) {
logger->warn("The check omitted these incompatible systems (use '--all-systems' to check all):");
for (auto omittedSystem: omittedSystems)
logger->warn(omittedSystem);
}
warn(
"The check omitted these incompatible systems: %s\n"
"Use '--all-systems' to check all.",
concatStringsSep(", ", omittedSystems)
);
}
};

Expand Down

0 comments on commit a395e48

Please sign in to comment.