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

19 lines
433 B
Nix

{ neovim, liblpeg ? null, lib, ... }:
neovim.overrideAttrs (oa: {
nativeBuildInputs = oa.nativeBuildInputs ++ lib.optionals (liblpeg != null) [
liblpeg
];
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;
})