mirror of
https://github.com/NixOS/nix
synced 2025-07-06 05:01:48 +02:00
parent
bd7a074636
commit
f923ed6b6a
11 changed files with 71 additions and 34 deletions
|
@ -140,6 +140,7 @@ bool createUserEnv(EvalState & state, PackageInfos & elems,
|
|||
NixStringContext context;
|
||||
auto & aDrvPath(*topLevel.attrs()->find(state.sDrvPath));
|
||||
auto topLevelDrv = state.coerceToStorePath(aDrvPath.pos, *aDrvPath.value, context, "");
|
||||
topLevelDrv.requireDerivation();
|
||||
auto & aOutPath(*topLevel.attrs()->find(state.sOutPath));
|
||||
auto topLevelOut = state.coerceToStorePath(aOutPath.pos, *aOutPath.value, context, "");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue