Skip to content

Commit 9962fc3

Browse files
Ericson2314edef1c
andauthored
Apply suggestions from code review
Co-authored-by: edef <[email protected]>
1 parent 79cf901 commit 9962fc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstore/derivations.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ static void processDerivationOutputPaths(Store & store, auto && drv, std::string
12461246
drv.env.insert(j, {outputName, store.printStorePath(actual)});
12471247
else if (j->second == "")
12481248
j->second = store.printStorePath(actual);
1249-
/* We now validation will succeed after fill-in, but
1249+
/* We know validation will succeed after fill-in, but
12501250
just to be extra sure, validate unconditionally */
12511251
}
12521252
auto j = drv.env.find(outputName);
@@ -1278,7 +1278,7 @@ static void processDerivationOutputPaths(Store & store, auto && drv, std::string
12781278
if (outputVariant.path == outPath) {
12791279
return; // Correct case
12801280
}
1281-
/* Error case, an explicilty wrong path is
1281+
/* Error case, an explicitly wrong path is
12821282
always an error. */
12831283
throw Error(
12841284
"derivation has incorrect output '%s', should be '%s'",
@@ -1306,7 +1306,7 @@ static void processDerivationOutputPaths(Store & store, auto && drv, std::string
13061306
}
13071307
case DrvHash::Kind::Deferred:
13081308
if constexpr (std::is_same_v<Output, DerivationOutput::InputAddressed>) {
1309-
/* Error case, an explicilty wrong path is
1309+
/* Error case, an explicitly wrong path is
13101310
always an error. */
13111311
throw Error(
13121312
"derivation has incorrect output '%s', should be deferred",

0 commit comments

Comments
 (0)