aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nix-env/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc
index 5d55b3bdb..dd531382f 100644
--- a/src/nix-env/main.cc
+++ b/src/nix-env/main.cc
@@ -317,6 +317,8 @@ static void queryInstSources(EvalState & state,
else elem.setOutPath(*i);
elem.name = name;
+
+ elems.push_back(elem);
}
break;