about summary refs log tree commit diff
path: root/third_party/nix/src
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-19T18·37+0100
committerVincent Ambo <tazjin@google.com>2020-05-19T18·37+0100
commit0b8415124d610efd64e5f29d7fa4d52800bd3b0d (patch)
treeb3507f4fa747490e464df99cd8460dc2a0a42271 /third_party/nix/src
parent1841d93ccbe5792a17f5b9a22e65ec898c7c2668 (diff)
fix(3p/nix/libstore): Fix mistake introduced by bracing changes r/773
This statement got included in a loop when it shouldn't have been. At
least it led to some funny derivation files!
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>