tvl-depot/third_party
Eelco Dolstra 5e2151b521 fix(3p/nix/repl): Scan NixRepl for GC roots
Backport of b244e65cdb

Fixes https://github.com/NixOS/nix/issues/3175

------

Original fault description by puck:

I suspect I found the issue: The Nix Command structs are stored on the
heap (using ref<T>, a wrapper around std::shared_ptr<T>), which means
that any pointers that the NixRepl struct contains are eligible to be
reaped by the GC. This includes, but is not limited to, the Env
pointer, which seems to cause most of the random segfaults, or random
other values in the environment, which seems to be what @arianvp
experienced too.

Change-Id: I376d7cfd432daaa6f1fbbf77788ff048082f34e5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1001
Tested-by: BuildkiteCI
Reviewed-by: Kane York <rikingcoding@gmail.com>
Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-10 22:25:30 +00:00
..
abseil_cpp fix(3p/nix): Link to Abseil built by Nix 2020-07-05 16:54:12 +00:00
apereo-cas chore(apereo-cas): fix up configuration 2020-07-08 17:49:25 +00:00
bat_syntaxes feat(3p/bat_syntaxes): Add a derivation to extend bat syntaxes 2020-06-15 16:52:23 +00:00
cgit fix(3p/cgit): Fix compilation under Clang 2020-06-03 02:24:00 +01:00
cpp/googleapis chore: Update from Clang 9 to Clang 10 for all projects 2020-05-22 18:29:47 +01:00
emacs feat(3p/emacs): Check in derivation for explain-pause-mode 2020-06-03 02:31:31 +01:00
farmhash feat(third_party): Add Google's farmhash library 2020-05-08 18:39:43 +01:00
ffmpeg feat(third_party/ffmpeg): Add "libnpp" support to ffmpeg 2020-04-04 02:36:20 +01:00
gerrit chore(gerrit): update to 3.2.2 2020-07-10 18:50:13 +00:00
gerrit_plugins chore(monorepo-gerrit): Remove 'owners-autoassign' plugin 2020-06-15 00:38:48 +00:00
git revert(3p/git): Revert merge of git upstream at v2.26.2 2020-05-26 00:06:52 +01:00
git-bug chore(3p/git-bug): Bump git-bug again to include another fix 2020-06-18 03:28:49 +01:00
gitignoreSource feat(3p): Add gitignoreSource 2020-06-29 17:23:52 +00:00
glog fix(3p/nix): Link to glog built by Nix 2020-07-05 16:54:12 +00:00
gopkgs feat(clbot): Add IRC support to the IRC bot. 2020-06-16 12:10:56 +00:00
grpc fix(3p/grpc): Bump to 1.30.0 and build with precompiled Abseil 2020-07-05 17:51:31 +00:00
haskell-language-server feat(3p): add haskell-language-server 2020-07-03 23:23:03 +00:00
haskell_overlay feat(3p/haskellPackages): port in patches from xanthous 2020-06-29 01:56:24 +00:00
kernelPatches/trx40_usb_audio feat(3p/kernelPatches): Add kernel audio patch for ASUS TRX40 Pro 2020-06-20 22:27:03 +00:00
lieer chore(3p/lieer): Revert "Work around issues in Google Mail API" 2020-07-07 21:50:01 +00:00
lisp chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
naersk chore(3p/naersk): Update to latest 'master' 2020-05-25 23:36:20 +01:00
nix fix(3p/nix/repl): Scan NixRepl for GC roots 2020-07-10 22:25:30 +00:00
nixery chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
notmuch chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
nsfv feat(3p/nsfv): Add derivation for NSFV 2020-06-25 02:27:38 +00:00
openldap feat(3p/openldap): Enable slapd-passwd-argon2 module 2020-07-01 19:10:13 +00:00
protobuf feat(3p/protobuf): Check in derivation for proto 3.12 with libcxx 2020-06-07 14:56:56 +01:00
python/broadlink feat(3p/python/broadlink): Add max_devices discovery parameter 2020-04-26 14:50:04 +01:00
smtprelay feat(nixos/smtprelay): Add derivation & module for SMTP relay 2020-06-13 01:23:01 +00:00
telega chore(third_party): Bump telega version 2020-04-04 21:34:05 +01:00
terraform-gcp chore: Rename pkgs->depot in all Nix file headers 2020-02-21 13:54:53 +00:00
default.nix feat(tazjin/frog): Install Quassel client on frog 2020-07-08 22:10:08 +00:00
haskell-overlay.nix feat(3p/haskellPackages): port in patches from xanthous 2020-06-29 01:56:24 +00:00
README.md docs(third_party): Add README 2019-06-29 14:12:38 +01:00

Third-Party Code

Code under this folder is one of the following:

  1. Externally developed dependencies which have been imported ("vendored") into this repository. These dependencies come with their own licenses and whatever else.

  2. Code that is developed inside of this repository, but released to an external repository via Copybara.