diff --git a/src/nix/profile.cc b/src/nix/profile.cc index d39a24d36..2bb29a67b 100644 --- a/src/nix/profile.cc +++ b/src/nix/profile.cc @@ -222,6 +222,8 @@ struct ProfileManifest es[name] = obj; } nlohmann::json json; + // Only upgrade with great care as changing it can break fresh installs + // like in https://github.com/NixOS/nix/issues/10109 json["version"] = 3; json["elements"] = es; return json;