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

View file

@ -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);
}
}