Skip to content

Instantly share code, notes, and snippets.

@colemickens
Created September 2, 2020 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colemickens/267240cace792800a458ad1e25079ebb to your computer and use it in GitHub Desktop.
Save colemickens/267240cace792800a458ad1e25079ebb to your computer and use it in GitHub Desktop.
/nix/var/nix/profiles/per-user/cole -------------------------------------------------------------------------------------------------------------------------------------------------------- cole@slynux 20:52:08
> sudo nix-store --query --roots /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
/proc/13713/environ -> /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
/proc/13722/environ -> /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
/nix/var/nix/profiles/per-user/cole -------------------------------------------------------------------------------------------------------------------------------------------------------- cole@slynux 20:52:20
> sudo nix-store --query --roots /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
/proc/13751/environ -> /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
/proc/13760/environ -> /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
/nix/var/nix/profiles/per-user/cole -------------------------------------------------------------------------------------------------------------------------------------------------------- cole@slynux 20:52:24
> sudo nix-store --delete /nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime
finding garbage collector roots...
0 store paths deleted, 0.00 MiB freed
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix-store
cannot delete path '/nix/store/0gqjxs98lld7byb9fyc0nn8i0frqbpc7-steam-runtime' since it is still alive. To find out why use: nix-store --query --roots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment