Skip to content

Many broken symlinks in /nix/var/nix/gcroots/per-user/username #242

@dschrempf

Description

@dschrempf

Hi!

Whenever an existing nix-direnv profile is changed, the link to the old profile sticks around in /nix/var/nix/gcroots/per-user/username/... and becomes broken because the old profile is deleted by nix-direnv (at least this is the case for me, but see #235).

Is this behavior expected?

At the moment, I delete broken symlinks once every few months, but it is a bit tedious.

I think it is good that the old profile is deleted but I would prefer also deleting the old symlink to the old profile, which will become broken. Is this an option?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions