From 062012eee15810de522613f1ca3ca9df75fa39e9 Mon Sep 17 00:00:00 2001 From: matthew Date: Sun, 1 Dec 2019 18:34:59 -0700 Subject: typo --- src/nix/command.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3