diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-02-04 00:33:13 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-02-04 00:33:13 +0100 |
commit | 4c755c3b3fc427afe192d223b37c288c88cc57d5 (patch) | |
tree | 2cf2973f2a6d1b1a204efc4adafee82bff95f7d7 /src/nix-build | |
parent | 1aa5994e6d7bfb32895264c3a2f1d94cc7272a72 (diff) | |
parent | 50efc5499a7d924828bed654be207a846c040fa0 (diff) |
Merge branch 'issue-3505' of https://github.com/kamadorueda/nix
Diffstat (limited to 'src/nix-build')
-rwxr-xr-x | src/nix-build/nix-build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc index 5cdf5c717..a7dce23f1 100755 --- a/src/nix-build/nix-build.cc +++ b/src/nix-build/nix-build.cc @@ -318,7 +318,7 @@ static void main_nix_build(int argc, char * * argv) for (auto & i : attrPaths) { Value & v(*findAlongAttrPath(*state, i, *autoArgs, vRoot).first); - state->forceValue(v); + state->forceValue(v, v.determinePos(noPos)); getDerivations(*state, v, "", *autoArgs, drvs, false); } } |