about summary refs log tree commit diff
path: root/src/nix-env/names.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/names.cc')
-rw-r--r--src/nix-env/names.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nix-env/names.cc b/src/nix-env/names.cc
index 93bcfda24e60..a425b8d0762c 100644
--- a/src/nix-env/names.cc
+++ b/src/nix-env/names.cc
@@ -1,4 +1,8 @@
 #include "names.hh"
+#include "util.hh"
+
+
+namespace nix {
 
 
 DrvName::DrvName()
@@ -115,3 +119,6 @@ DrvNames drvNamesFromArgs(const Strings & opArgs)
         result.push_back(DrvName(*i));
     return result;
 }
+
+ 
+}