1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

Address review comments

This commit is contained in:
Vladimir Kryachko 2023-10-18 10:37:06 -04:00
parent a2f0ba6a6d
commit 311e2ad024
2 changed files with 77 additions and 1 deletions

View file

@ -428,7 +428,7 @@ LockedFlake lockFlake(
ancestors? */
auto i = overrides.find(inputPath);
bool hasOverride = i != overrides.end();
bool hasCliOverride = explicitCliOverrides.find(inputPath) != explicitCliOverrides.end();
bool hasCliOverride = explicitCliOverrides.contains(inputPath);
if (hasOverride) {
overridesUsed.insert(inputPath);
// Respect the “flakeness” of the input even if we