1
0
Fork 0
nix-overlay/packages/neovim-nightly.nix

19 lines
433 B
Nix
Raw Normal View History

2023-05-10 23:04:05 +00:00
{ neovim, liblpeg ? null, lib, ... }:
2023-05-10 21:29:38 +00:00
2023-05-10 23:04:05 +00:00
neovim.overrideAttrs (oa: {
nativeBuildInputs = oa.nativeBuildInputs ++ lib.optionals (liblpeg != null) [
liblpeg
2023-05-10 21:29:38 +00:00
];
patches = builtins.filter
(p:
let
patch =
if builtins.typeOf p == "set"
then baseNameOf p.name
else baseNameOf p;
in
patch != "use-the-correct-replacement-args-for-gsub-directive.patch")
oa.patches;
})