4b38ebb009313076f43a53b4fd203e36633ea45e
Otherwise Nix deadlocks when Ctrl-C is received in withFramedSink():
the parent thread will wait forever for the stderr thread to shut
down.
Fixes the hang reported in https://github.com/NixOS/nix/issues/7245#issuecomment-1770560923.
(cherry picked from commit 24e70489e5)
Nix
Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.
Installation and first steps
Visit nix.dev for installation instructions and beginner tutorials.
Full reference documentation can be found in the Nix manual.
Building And Developing
See our Hacking guide in our manual for instruction on how to set up a development environment and build Nix from source.
Contributing
Check the contributing guide if you want to get involved with developing Nix.
Additional Resources
License
Nix is released under the LGPL v2.1.
Languages
C++
78.1%
Shell
9.7%
Nix
7.5%
Meson
1.8%
C
1.3%
Other
1.6%