forked from lix-project/lix
* Always show what paths we're going to build/download (as in
--dry-run). Maybe there should be an option to turn this on/off?
This commit is contained in:
parent
c4f98941ed
commit
5b1052663a
|
@ -618,10 +618,9 @@ static void installDerivations(Globals & globals,
|
||||||
printMsg(lvlInfo,
|
printMsg(lvlInfo,
|
||||||
format("installing `%1%'") % i->name);
|
format("installing `%1%'") % i->name);
|
||||||
|
|
||||||
if (globals.dryRun) {
|
|
||||||
printMissing(globals.state, newElems);
|
printMissing(globals.state, newElems);
|
||||||
return;
|
|
||||||
}
|
if (globals.dryRun) return;
|
||||||
|
|
||||||
createUserEnv(globals.state, allElems,
|
createUserEnv(globals.state, allElems,
|
||||||
profile, globals.keepDerivations);
|
profile, globals.keepDerivations);
|
||||||
|
@ -721,10 +720,9 @@ static void upgradeDerivations(Globals & globals,
|
||||||
} else newElems.push_back(*i);
|
} else newElems.push_back(*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (globals.dryRun) {
|
|
||||||
printMissing(globals.state, newElems);
|
printMissing(globals.state, newElems);
|
||||||
return;
|
|
||||||
}
|
if (globals.dryRun) return;
|
||||||
|
|
||||||
createUserEnv(globals.state, newElems,
|
createUserEnv(globals.state, newElems,
|
||||||
globals.profile, globals.keepDerivations);
|
globals.profile, globals.keepDerivations);
|
||||||
|
|
Loading…
Reference in a new issue