Merge pull request #58409 from Infinisil/vim-stylish-haskell-path

vimPlugins.vim-stylish-haskell: Patch path to executable
This commit is contained in:
Silvan Mosberger 2019-04-01 05:41:34 +02:00 committed by GitHub
commit b8fbca0873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

@ -2,7 +2,7 @@
, python, cmake, meson, vim, ruby
, which, fetchgit, fetchurl
, llvmPackages, rustPlatform
, xkb-switch, fzf, skim
, xkb-switch, fzf, skim, stylish-haskell
, python3, boost, icu, ncurses
, ycmd, rake
, gobject-introspection, glib, wrapGAppsHook
@ -405,4 +405,12 @@ self: super: {
};
});
vim-stylish-haskell = super.vim-stylish-haskell.overrideAttrs (old: {
postPatch = old.postPatch or "" + ''
substituteInPlace ftplugin/haskell/stylish-haskell.vim --replace \
'g:stylish_haskell_command = "stylish-haskell"' \
'g:stylish_haskell_command = "${stylish-haskell}/bin/stylish-haskell"'
'';
});
}

@ -5758,6 +5758,8 @@ in
strongswanTNC = strongswan.override { enableTNC = true; };
strongswanNM = strongswan.override { enableNetworkManager = true; };
stylish-haskell = haskell.lib.justStaticExecutables haskellPackages.stylish-haskell;
su = shadow.su;
subsonic = callPackage ../servers/misc/subsonic { };