aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/haunted-gc-macos.md
blob: 3ce912b2d07f67150b42ae053fbd8f11ec9f37b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
synopsis: "Fix unexpectedly-successful GC failures on macOS"
cls: 1723
issues: fj#446
credits: jade
category: Fixes
---

Has the following happened to you on macOS? This failure has been successfully eliminated, thanks to our successful deployment of advanced successful-failure detection technology (it's just `if (failed && errno == 0)`. Patent pending<sup>not really</sup>):

```
$ nix-store --gc --print-dead
finding garbage collector roots...
error: Listing pid 87261 file descriptors: Undefined error: 0
```