summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2018-12-30 10:21:06 +0100
committerGabriel Ebner <gebner@gebner.org>2018-12-30 10:21:06 +0100
commit68076b7d4938ce788dc9eaaf8789dfccc30e2ca2 (patch)
tree1eeea75ae30919556a6da0c129406e727cdfd1ea /pkgs/shells/fish
parentbd12f748276e9aaf6838d5c7d1ea44d1b7b7e564 (diff)
downloadnixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.tar
nixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.tar.gz
nixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.tar.bz2
nixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.tar.lz
nixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.tar.xz
nixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.tar.zst
nixpkgs-68076b7d4938ce788dc9eaaf8789dfccc30e2ca2.zip
fish: do not use internal wcwidth
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
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/default.nix2
1 files changed, 1 insertions, 1 deletions
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