aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/haunted-gc-macos.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/rl-next/haunted-gc-macos.md')
-rw-r--r--doc/manual/rl-next/haunted-gc-macos.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/manual/rl-next/haunted-gc-macos.md b/doc/manual/rl-next/haunted-gc-macos.md
new file mode 100644
index 000000000..3ce912b2d
--- /dev/null
+++ b/doc/manual/rl-next/haunted-gc-macos.md
@@ -0,0 +1,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
+```