Releases: Mic92/nix-1
Releases · Mic92/nix-1
nix-bug
assets
libutil: rename and optimize closeMostFDs this is only used to close non-stdio files in derivation sandboxes. we may as well encode that in its name, drop the unnecessary integer set, and use close_range to deal with the actual closing of files. not only is this clearer, it also makes sandbox setup on linux fast by 1ms each (cherry-picked and adapted from https://git.lix.systems/lix-project/lix/commit/c7d97802e4f59b8621e67cf62275d6a7fde8fe62) Co-authored-by: Eelco Dolstra <edolstra@gmail.com> Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com> Co-authored-by: John Ericson <git@JohnEricson.me>