Merge branch 'pr/mopleen/5584'

This commit is contained in:
Max Headroom 2022-02-21 23:07:55 +01:00
commit a72dd4916f

View file

@ -160,6 +160,7 @@ struct CmdShell : InstallablesCommand, MixEnvironment
setenv(pathV.first.c_str(), concatStringsSep(":", pathVars[pathV.first]).c_str(), 1); setenv(pathV.first.c_str(), concatStringsSep(":", pathVars[pathV.first]).c_str(), 1);
} }
setenv("IN_NIX3_SHELL", "1", 1);
Strings args; Strings args;
for (auto & arg : command) args.push_back(arg); for (auto & arg : command) args.push_back(arg);