This commit is contained in:
Robert Hensing 2024-10-30 01:08:01 +01:00
parent 760be5fe1e
commit 64744503cc

View file

@ -270,11 +270,10 @@ 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)
else if (vScope) {
scopedImport(state, pos, path, vScope, v);
else
}
else {
state.evalFile(path, v);
}
}