mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Address review comments
This commit is contained in:
parent
a2f0ba6a6d
commit
311e2ad024
2 changed files with 77 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue