diff options
author | Robert Hensing <robert@roberthensing.nl> | 2021-08-30 09:52:26 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2021-08-30 09:52:43 +0200 |
commit | 92778a5f80d6f5c17e4ad09f7cbf0839341f2398 (patch) | |
tree | b02e4ce7aa1742068266d1f50b18255fd750dfbb /src/nix-env | |
parent | f10465774fafaa2423cb05e02b38e03ed2abded7 (diff) |
Tidy
Diffstat (limited to 'src/nix-env')
-rw-r--r-- | src/nix-env/user-env.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-env/user-env.cc b/src/nix-env/user-env.cc index 4b574fe0a..1fd4bcbd3 100644 --- a/src/nix-env/user-env.cc +++ b/src/nix-env/user-env.cc @@ -131,9 +131,9 @@ bool createUserEnv(EvalState & state, DrvInfos & elems, state.forceValue(topLevel); PathSet context; Attr & aDrvPath(*topLevel.attrs->find(state.sDrvPath)); - auto topLevelDrv = state.store->parseStorePath(state.coerceToPath(*aDrvPath.pos, *(aDrvPath.value), context)); + auto topLevelDrv = state.store->parseStorePath(state.coerceToPath(*aDrvPath.pos, *aDrvPath.value, context)); Attr & aOutPath(*topLevel.attrs->find(state.sOutPath)); - Path topLevelOut = state.coerceToPath(*aOutPath.pos, *(aOutPath.value), context); + Path topLevelOut = state.coerceToPath(*aOutPath.pos, *aOutPath.value, context); /* Realise the resulting store expression. */ debug("building user environment"); |