# Why does a Nix store path survive garbage collection? — LabCraft Blog

**URL:** https://discourse.nixos.org/t/why-does-a-nix-store-path-survive-garbage-collection-labcraft-blog/80299
**Category:** Links
**Created:** [September 26, 2026, 12:19am UTC](https://discourse.nixos.org/t/why-does-a-nix-store-path-survive-garbage-collection-labcraft-blog/80299 "2026-09-26T00:19:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anandsuresh](https://discourse.nixos.org/user_avatar/discourse.nixos.org/anandsuresh/32/5840_2.png) [@anandsuresh](https://discourse.nixos.org/u/anandsuresh)
#### Post date: [September 26, 2026, 12:19am UTC](https://discourse.nixos.org/t/why-does-a-nix-store-path-survive-garbage-collection-labcraft-blog/80299/1 "2026-09-26T00:19:46Z")

</div>

> **[Why does a Nix store path survive garbage collection? — LabCraft Blog](https://www.labcraft.dev/blog/nix-gc-roots?utm_source=nixos-discourse-personal&utm_medium=social&utm_campaign=nix-gc-roots-2026q3&utm_content=announcements-retention-01)**
>
> GC Roots, the fifth free Part of LabCraft's Nix course, is now available. On a real NixOS machine, it asks you to predict what garbage collection will remove before Nix shows you what it kept.
