46c78aa0f9
Only libexpr depends on the garbage collector, specifically only instantiations of EvalState actually require the GC to be initialised. Rather than always starting it for the whole program, even if it is not needed, this change moves the GC initialisation into libexpr, guarded by absl::call_once. This should make it possible to run the nix daemon without the garbage collector interfering, granted that things are correcty separated and the daemon does not actually invoke the evaluator. Based on my investigation so far, the daemon logic itself does not require libexpr to be present at all - so I think it is safe - but the current monobinary might have some tricks up its sleeve that will cause problems for us. We can deal with those if they arise. Relates to https://b.tvl.fyi/issues/30 Change-Id: I61c745f96420c02e089bd3c362ac3ccb117d3073 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1584 Tested-by: BuildkiteCI Reviewed-by: edef <edef@edef.eu> Reviewed-by: kanepyork <rikingcoding@gmail.com> |
||
---|---|---|
.. | ||
abseil_cpp | ||
apereo-cas | ||
bat_syntaxes | ||
bufbuild | ||
cgit | ||
cpp/googleapis | ||
emacs | ||
farmhash | ||
ffmpeg | ||
gerrit | ||
gerrit_plugins | ||
git | ||
git-bug | ||
gitignoreSource | ||
glog | ||
gopkgs | ||
grpc | ||
gtest | ||
haskell-language-server | ||
haskell_overlay | ||
immer | ||
kernelPatches/trx40_usb_audio | ||
lieer | ||
lisp | ||
naersk | ||
nix | ||
nixery | ||
notmuch | ||
nsfv | ||
openldap | ||
protobuf | ||
python/broadlink | ||
rapidcheck | ||
rr | ||
smtprelay | ||
telega | ||
terraform-gcp | ||
default.nix | ||
haskell-overlay.nix | ||
README.md |
Third-Party Code
Code under this folder is one of the following:
-
Externally developed dependencies which have been imported ("vendored") into this repository. These dependencies come with their own licenses and whatever else.
-
Code that is developed inside of this repository, but released to an external repository via Copybara.