Closed misumisumi closed 1 day ago
This workflow will not run unless lazy-lock.json in the repository is updated (path to /nix/store is not updated) (i.e. not every activation of home-manager)
Is this behavior okay? or do we try to merge every time you activate home-manager?
yeah, i think merging local lazy-lcok.json
whenever the latest upstream lazy-lcok.json
is pulled should be fine.
Do I merge this ?
https://github.com/ayamir/nvimdots/pull/1260#issuecomment-2191929399
lazy-lock.json
managed bynix/store
is symbolically linked to${XDG_CONFIG_DIR}/nvim/lazy-lock.json
, but since it is read-only, there is a problem that it has low affinity with lazy.nvim. Therefore, lazy-lock.json is managed locally, and when lazy-lock.json in the repository is updated, it is merged to achieve both reproducibility and convenience.It will be updated with the workflow shown below when home-manager activation.
lazy-lock.json
in the repository is managed aslazy-lock.fixed.json
in/nix/store
.${XDG_CONFIG_DIR}/nvim
, one of the following will be executed.lazy-lock.json
under${XDG_CONFIG_DIR}/nvim
, copy to then.lazy-lock.json
under then, merge two json. At this time, merge to respect the package version of the repository.This workflow will not run unless lazy-lock.json in the repository is updated (path to /nix/store is not updated) (i.e. not every activation of home-manager)
The traditional
bindLazyLock
options are also retained,