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

"/nix/store/...-news-info.sh: No such file or directory" with -2 #327

Closed
ghost opened this issue Jul 31, 2018 · 1 comment
Closed

"/nix/store/...-news-info.sh: No such file or directory" with -2 #327

ghost opened this issue Jul 31, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 31, 2018

$ home-manager -2 switch         
[4 built, 0.0 MiB DL]
Starting home manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating uninstallHomeManager
Activating installPackages
replacing old 'home-manager-path'
installing 'home-manager-path'
building '/nix/store/wxbp7g772i5pqg9sy6rafpqhbh2bnb7h-user-environment.drv'...
created 9 symlinks in user environment
Activating createHomeInfoDir
Activating linkGeneration
Cleaning up orphan links from /home/s
Creating profile generation 99
Creating home file links in /home/s
Activating onFilesChange
Activating reloadSystemD
User systemd daemon not running. Skipping reload.
/home/nor/.nix-profile/bin/home-manager: line 101: /nix/store/k3j2mhpxs4amwy7llyrz1m0pj26frb01-news-info.sh: No such file or directory
rycee added a commit that referenced this issue 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
@rycee
Copy link
Member

rycee commented Jul 31, 2018

Thanks for the report! I believe the issue is fixed in master now. Please give it a try and see how it goes 🙂

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

No branches or pull requests

1 participant