mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +02:00
Move savedArgv into libmain
`savedArgv` is not accessible by plugins when defined in main binary. Moving it into one of the nix lib fix the problem.
This commit is contained in:
parent
b154070ab0
commit
cd86eeb693
2 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
|
||||||
|
char * * savedArgv;
|
||||||
|
|
||||||
static bool gcWarning = true;
|
static bool gcWarning = true;
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ static bool haveInternet()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string programPath;
|
std::string programPath;
|
||||||
char * * savedArgv;
|
|
||||||
|
|
||||||
struct HelpRequested { };
|
struct HelpRequested { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue