about summary refs log tree commit diff
path: root/src/nix-env/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/main.cc')
-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 5d55b3bdbc41..dd531382f0e5 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;