mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36: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…
Reference in a new issue