about summary refs log tree commit diff
path: root/third_party/nix/src
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src')
-rw-r--r--third_party/nix/src/libstore/derivations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/derivations.cc b/third_party/nix/src/libstore/derivations.cc
index 7a0de8f066ac..a46d079672f5 100644
--- a/third_party/nix/src/libstore/derivations.cc
+++ b/third_party/nix/src/libstore/derivations.cc
@@ -200,8 +200,8 @@ static void printString(string& res, const string& s) {
     } else {
       res += *i;
     }
-    res += '"';
   }
+  res += '"';
 }
 
 template <class ForwardIterator>