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
Empty manifest.json in profiles #10641
Comments
Nix doesn't |
Thanks! |
Describe the bug
I'm using home-manager modules from within my
configuration.nix
. When runningnixos-rebuild switch
, activating the home-manager environments fails for my two users. When investigating the issue, I found that/nix/var/nix/profiles/per-user/<user>/profile/manifest.json
is an empty file for both users. Older profiles are ok.I cannot use the
nix profile
command to remove the broken profile, becauseSteps To Reproduce
I don't know how to reproduce this. I have experienced system crashes recently, but given that the profiles are in the Nix store, my assumption is that they are built somewhat atomically and hope that system crashes don't lead to half-built derivations in the store.
nix-env --version
outputnix-env (Nix) 2.18.1
Additional context
I have opened an issue in home-manager about this: nix-community/home-manager#5348 - but I guess home-manager simply uses
nix profile
, so it's probably better located here.It seems people encountered empty manifest.json before:
#4742
NixOS/nixpkgs#18279
https://discourse.nixos.org/t/home-manager-stopped-working-on-my-non-nixos/6023
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: