diff options
author | matthew <matthewkenigsberg@gmail.com> | 2019-12-01 18:34:59 -0700 |
---|---|---|
committer | matthew <matthewkenigsberg@gmail.com> | 2019-12-01 18:34:59 -0700 |
commit | 062012eee15810de522613f1ca3ca9df75fa39e9 (patch) | |
tree | 31dac1bb7c9bb8bc27fdae974bf271acb3db1f8e /src/nix | |
parent | 6419f5028b30e8e43222d71d9fd45fd674eed1b7 (diff) |
typo
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/command.cc | 2 |
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(); |