Closed coopetal closed 2 months ago
I added a snipe.nvim plugin to my flake input, but when trying to build it using mkNvimPlugin function provided, I got this error:
error: attribute 'lastModifiedDate' missing at /nix/store/ihzw74dv8ybfv64j7a86v3zn05w4abcg-source/nix/neovim-overlay.nix:10:17: 9| inherit pname src; 10| version = src.lastModifiedDate; | ^ 11| };
Looking at the flake.lock, the input is missing the attribute:
110 ~ │ "snipe-nvim": { 111 ~ │ "flake": false, 112 ~ │ "locked": { 113 ~ │ "narHash": "sha256-+EdMiJ/lrjrPTE6GzOdoDE8bQ1yMyqzHCm1P/33Mg7E=", 114 ~ │ "type": "file", 115 ~ │ "url": "https://github.com/leath-dub/snipe.nvim" 116 ~ │ }, 117 ~ │ "original": { 118 ~ │ "type": "file", 119 ~ │ "url": "https://github.com/leath-dub/snipe.nvim" 120 │ } 121 │ },
I tried commenting that line out, but version argument is needed elsewhere.
Any reason why the date is missing?
Nevermind, turns I used the full url instead of the "github:" handle. Now it received all the attributes correctly.
I added a snipe.nvim plugin to my flake input, but when trying to build it using mkNvimPlugin function provided, I got this error:
Looking at the flake.lock, the input is missing the attribute:
I tried commenting that line out, but version argument is needed elsewhere.
Any reason why the date is missing?