Skip to content

Commit

Permalink
use npins correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerg-L committed Oct 30, 2023
1 parent aac0445 commit b433b0d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,7 @@
#
# This generates plugins from npins sources
#
pname: v:
(pkgs.vimUtils.buildVimPlugin {
inherit pname;
version = builtins.substring 0 8 v.revision;
src = builtins.fetchTarball {
inherit (v) url;
sha256 = v.hash;
};
})
name: src: (pkgs.vimUtils.buildVimPlugin { inherit name src; })
)
(import ./npins);
#
Expand Down

0 comments on commit b433b0d

Please sign in to comment.