aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormatthew <matthewkenigsberg@gmail.com>2019-12-01 18:34:59 -0700
committermatthew <matthewkenigsberg@gmail.com>2019-12-01 18:34:59 -0700
commit062012eee15810de522613f1ca3ca9df75fa39e9 (patch)
tree31dac1bb7c9bb8bc27fdae974bf271acb3db1f8e /src
parent6419f5028b30e8e43222d71d9fd45fd674eed1b7 (diff)
typo
Diffstat (limited to 'src')
-rw-r--r--src/nix/command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc
index aa5c8cf1e..06655b8e2 100644
--- a/src/nix/command.cc
+++ b/src/nix/command.cc
@@ -159,7 +159,7 @@ void MixEnvironment::setEnviron() {
for (const auto & var : keep) {
auto val = getenv(var.c_str());
- if (val) stringEnv.emplace_back(fmt("%s=%s", var.c_str(), val));
+ if (val) stringsEnv.emplace_back(fmt("%s=%s", var.c_str(), val));
}
vectorEnv = stringsToCharPtrs(stringsEnv);
environ = vectorEnv.data();