fix firenvim

This commit is contained in:
notgne2 2021-09-14 05:19:02 -07:00
parent db5c5c1172
commit b03b8f6328
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
2 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,4 @@
inputs:
{ config, pkgs, lib, ... }:
let
# TODO: find a better source
@ -111,11 +112,12 @@ in
}
(
pkgs.vimUtils.buildVimPlugin {
name = "firenvim";
src = builtins.fetchGit {
url = "git+ssh://git@github.com/glacambre/firenvim.git";
rev = "3b6558c47f6a3721fadce5b4ac70335be9863632";
};
pname = "firenvim";
src = inputs.firenvim;
# yes im stupid
version = builtins.readFile (pkgs.runCommandNoCC "firenvim-version" {} ''
${pkgs.jq}/bin/jq -j .version < ${inputs.firenvim}/package.json > $out
'');
})
vim-gitgutter
];