mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
parent
c3c23a52ee
commit
1789c56f43
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
#include "nixexpr.hh"
|
||||
#include "profiles.hh"
|
||||
|
||||
extern char * * environ;
|
||||
|
||||
namespace nix {
|
||||
|
||||
Commands * RegisterCommand::commands = nullptr;
|
||||
|
@ -175,6 +177,7 @@ void MixEnvironment::setEnviron() {
|
|||
auto val = getenv(var.c_str());
|
||||
if (val) stringsEnv.emplace_back(fmt("%s=%s", var.c_str(), val));
|
||||
}
|
||||
|
||||
vectorEnv = stringsToCharPtrs(stringsEnv);
|
||||
environ = vectorEnv.data();
|
||||
} else {
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace nix {
|
|||
struct Value;
|
||||
struct DrvInfo;
|
||||
class EvalState;
|
||||
class SourceExprCommand;
|
||||
struct SourceExprCommand;
|
||||
|
||||
struct Buildable
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue