Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

home-manager: fix GC issue #328

Merged
merged 1 commit into from
Jul 31, 2018
Merged

home-manager: fix GC issue #328

merged 1 commit into from
Jul 31, 2018

Conversation

rycee
Copy link
Member

@rycee rycee commented Jul 31, 2018

It was previously possible to create the news information and lose it in a Nix GC before being able to view it. This also causes a switch to error out. This change makes the news information a root in the garbage collector.

Note, this change also removes the need for nix eval so the doBuildAttr function is simplified accordingly.

Fixes #327

It was previously possible to create the news information and lose it
in a Nix GC before being able to view it. This also causes a switch to
error out. This change makes the news information a root in the
garbage collector.

Note, this change also removes the need for `nix eval` so the
`doBuildAttr` function is simplified accordingly.

Fixes #327
@rycee rycee merged commit 4f67e8d into master Jul 31, 2018
@rycee rycee deleted the fix-news-gc branch July 31, 2018 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant