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

23 lines
521 B
Nix
Raw Normal View History

2023-05-10 21:29:38 +00:00
{ pkgs, otherPkgs, lib, liblpeg-darwin, ... }:
let
inherit (pkgs.stdenv) isDarwin;
inherit (lib) optionals;
in
otherPkgs.neovim.neovim.overrideAttrs (oa: {
nativeBuildInputs = oa.nativeBuildInputs ++ optionals isDarwin [
liblpeg-darwin
];
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;
})