Skip to content

Commit

Permalink
fzf-tab-zsh: fix build with gcc14 (#368738)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 28, 2024
2 parents 3c344c2 + ea15e6b commit 20cb6a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5768,6 +5768,12 @@
githubId = 11946442;
name = "Dipin Hora";
};
diredocks = {
email = "[email protected]";
github = "diredocks";
githubId = 26994007;
name = "Chen Xin";
};
dirkx = {
email = "[email protected]";
github = "dirkx";
Expand Down
6 changes: 5 additions & 1 deletion pkgs/by-name/zs/zsh-fzf-tab/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fetchFromGitHub,
zsh,
ncurses,
autoconf,
nix-update-script,
}:

Expand All @@ -22,6 +23,7 @@ stdenv.mkDerivation rec {
};

strictDeps = true;
nativeBuildInputs = [ autoconf ];
buildInputs = [ ncurses ];

# https://github.com/Aloxaf/fzf-tab/issues/337
Expand All @@ -44,6 +46,8 @@ stdenv.mkDerivation rec {
pushd zsh-${zsh.version}
# Apply patches from zsh
${lib.concatStringsSep "\n" (map (patch: "patch -p1 -i ${patch}") zsh.patches)}
if [[ ! -f ./configure ]]; then
./Util/preconfig
Expand Down Expand Up @@ -93,7 +97,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/Aloxaf/fzf-tab";
description = "Replace zsh's default completion selection menu with fzf!";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ vonfry ];
maintainers = with lib.maintainers; [ diredocks ];
platforms = lib.platforms.unix;
};
}

0 comments on commit 20cb6a3

Please sign in to comment.