From 68076b7d4938ce788dc9eaaf8789dfccc30e2ca2 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 30 Dec 2018 10:21:06 +0100 Subject: [PATCH] fish: do not use internal wcwidth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is important when typing characters such as ⚡(U+26A1 HIGH VOLTAGE SIGN), otherwise fish computes a different character width than the terminal. See https://github.com/fish-shell/fish-shell/pull/4816 --- pkgs/shells/fish/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index e79f756e522..b3077578ca7 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -102,7 +102,7 @@ let nativeBuildInputs = [ cmake ]; buildInputs = [ ncurses libiconv pcre2 ]; - configureFlags = [ "--without-included-pcre2" ]; + cmakeFlags = [ "-DINTERNAL_WCWIDTH=OFF" ]; preConfigure = '' patchShebangs ./build_tools/git_version_gen.sh