3
0
Fork 0
forked from mirrors/nixpkgs

vimPlugins.vim-hexokinase: build bin

This commit is contained in:
Andrey Kuznetsov 2020-09-24 02:19:28 +03:00
parent 54804c0ea4
commit ad55d8353a

View file

@ -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 {