aboutsummaryrefslogtreecommitdiff
path: root/pkgs/misc/vim-plugins/overrides.nix
diff options
context:
space:
mode:
authorAndrey Kuznetsov <fear@loathing.in>2020-09-24 02:19:28 +0300
committerAndrey Kuznetsov <fear@loathing.in>2020-11-19 01:00:34 +0400
commitad55d8353a70b9f16330f7ec977c5c7f5cab72bd (patch)
tree036f8b1c10d89723f84cb5f5db190b5b349be9b5 /pkgs/misc/vim-plugins/overrides.nix
parent54804c0ea439334c3c361e9d1a20ad0b9d781274 (diff)
vimPlugins.vim-hexokinase: build bin
Diffstat (limited to '')
-rw-r--r--pkgs/misc/vim-plugins/overrides.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix
index 0031b6e7dc72..0ee45658a2ae 100644
--- a/pkgs/misc/vim-plugins/overrides.nix
+++ b/pkgs/misc/vim-plugins/overrides.nix
@@ -1,7 +1,7 @@
{ lib, stdenv
, python, cmake, meson, vim, ruby
, which, fetchFromGitHub, fetchgit, fetchurl, fetchzip, fetchpatch
-, llvmPackages, rustPlatform
+, llvmPackages, rustPlatform, buildGoModule
, pkgconfig, curl, openssl, libgit2, libiconv
, xkb-switch, fzf, skim, stylish-haskell
, python3, boost, icu, ncurses
@@ -595,6 +595,20 @@ self: super: {
'';
});
+ vim-hexokinase = super.vim-hexokinase.overrideAttrs(old: {
+ preFixup = let
+ hexokinase = buildGoModule {
+ name = "hexokinase";
+ src = old.src + "/hexokinase";
+ vendorSha256 = "pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
+ };
+ in ''
+ ln -s ${hexokinase}/bin/hexokinase $target/hexokinase/hexokinase
+ '';
+
+ meta.platforms = stdenv.lib.platforms.all;
+ });
+
vim-clap = super.vim-clap.overrideAttrs(old: {
preFixup = let
maple-bin = rustPlatform.buildRustPackage {