1937bc8624
Previously the nix-daemon would crash if a user fed it invalid store paths for drv files. The crash was due to the changed assertion triggering. Whenever that assertion would hit the nix-daemon process along with all it's current childs (running builds from all users) would be interrupted. Before this patch: $ nix-store --realise /nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.drv don't know how to build these paths: /nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.drv error: unexpected end-of-file < nix-daemon terminates > With this patch: $ nix-store --realise /nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.drv don't know how to build these paths: /nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.drv error: path '/nix/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.drv' is not a valid store path < nix-daemon does *NOT* terminate > Change-Id: I01c5048c8a43a8b9154bdeb781d05b7744869ec0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/981 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> |
||
---|---|---|
.. | ||
abseil_cpp | ||
apereo-cas | ||
bat_syntaxes | ||
cgit | ||
cpp/googleapis | ||
emacs | ||
farmhash | ||
ffmpeg | ||
gerrit | ||
gerrit_plugins | ||
git | ||
git-bug | ||
gitignoreSource | ||
glog | ||
gopkgs | ||
grpc | ||
haskell-language-server | ||
haskell_overlay | ||
kernelPatches/trx40_usb_audio | ||
lieer | ||
lisp | ||
naersk | ||
nix | ||
nixery | ||
notmuch | ||
nsfv | ||
openldap | ||
protobuf | ||
python/broadlink | ||
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.