mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Tidy
This commit is contained in:
parent
760be5fe1e
commit
64744503cc
1 changed files with 4 additions and 5 deletions
|
@ -270,12 +270,11 @@ static void import(EvalState & state, const PosIdx pos, Value & vPath, Value * v
|
|||
if (auto storePath = isValidDerivationInStore()) {
|
||||
derivationToValue(state, pos, path, *storePath, v);
|
||||
}
|
||||
|
||||
else if (vScope) {
|
||||
scopedImport(state, pos, path, vScope, v);
|
||||
}
|
||||
else {
|
||||
if (vScope)
|
||||
scopedImport(state, pos, path, vScope, v);
|
||||
else
|
||||
state.evalFile(path, v);
|
||||
state.evalFile(path, v);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue