Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e9551e662 |
@@ -130,8 +130,6 @@ static void sigHandler(int signo) { }
|
|||||||
|
|
||||||
void initNix()
|
void initNix()
|
||||||
{
|
{
|
||||||
kj::UnixEventPort::setReservedSignal(KJ_RESERVED_SIGNAL);
|
|
||||||
|
|
||||||
registerCrashHandler();
|
registerCrashHandler();
|
||||||
|
|
||||||
/* Turn on buffering for cerr. */
|
/* Turn on buffering for cerr. */
|
||||||
@@ -189,7 +187,6 @@ void initNix()
|
|||||||
umask(0022);
|
umask(0022);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LegacyArgs::LegacyArgs(AsyncIoRoot & aio, const std::string & programName,
|
LegacyArgs::LegacyArgs(AsyncIoRoot & aio, const std::string & programName,
|
||||||
std::function<bool(Strings::iterator & arg, const Strings::iterator & end)> parseArg)
|
std::function<bool(Strings::iterator & arg, const Strings::iterator & end)> parseArg)
|
||||||
: MixCommonArgs(programName), aio_(aio), parseArg(parseArg)
|
: MixCommonArgs(programName), aio_(aio), parseArg(parseArg)
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
#include "lix/libutil/finally.hh"
|
#include "lix/libutil/finally.hh"
|
||||||
#include "lix/libutil/json.hh"
|
#include "lix/libutil/json.hh"
|
||||||
#include "lix/libmain/loggers.hh"
|
#include "lix/libmain/loggers.hh"
|
||||||
|
#include "lix/libutil/signals.hh"
|
||||||
#include "lix/libcmd/markdown.hh"
|
#include "lix/libcmd/markdown.hh"
|
||||||
#include "add-to-store.hh"
|
#include "add-to-store.hh"
|
||||||
#include "build-remote.hh"
|
#include "build-remote.hh"
|
||||||
@@ -646,6 +647,7 @@ int main(int argc, char * * argv)
|
|||||||
nix::setStackSize(64 * 1024 * 1024);
|
nix::setStackSize(64 * 1024 * 1024);
|
||||||
|
|
||||||
return nix::handleExceptions(argv[0], [&]() {
|
return nix::handleExceptions(argv[0], [&]() {
|
||||||
|
kj::UnixEventPort::setReservedSignal(nix::KJ_RESERVED_SIGNAL);
|
||||||
nix::AsyncIoRoot aio;
|
nix::AsyncIoRoot aio;
|
||||||
nix::mainWrapped(aio, argc, argv);
|
nix::mainWrapped(aio, argc, argv);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ cxx = meson.get_compiler('cpp')
|
|||||||
# without being forced to hide the headers we take these defines from
|
# without being forced to hide the headers we take these defines from
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
'-DLIX_UR_COMPILER_UWU',
|
'-DLIX_UR_COMPILER_UWU',
|
||||||
|
'-DKJ_USE_KQUEUE=0',
|
||||||
language : 'cpp',
|
language : 'cpp',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
env = {
|
env = {
|
||||||
# Required to build the coroutine library
|
# Required to build the coroutine library
|
||||||
CXXFLAGS = "-std=c++20";
|
CXXFLAGS = "-std=c++20 -DKJ_USE_KQUEUE=0";
|
||||||
};
|
};
|
||||||
|
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user