diff options
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/primops.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 4d64bf32a676..121dbca9b36a 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -1114,7 +1114,10 @@ void EvalState::createBaseEnv() let outPath = builtins.getAttr (output + \"Path\") strict; in { \ name = output; \ value = attrs // { \ - drvPath = strict.drvPath; inherit outPath; type = \"derivation\"; \ + drvPath = strict.drvPath; \ + inherit outPath; \ + type = \"derivation\"; \ + currentOutput = output; \ } // outputsAttrs // { all = allList; }; \ }; \ outputsList = if attrs ? outputs then \ |