diff options
author | Artturin <Artturin@artturin.com> | 2023-07-06 01:04:33 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-07-06 01:10:19 +0300 |
commit | bdcff9cd3c2296db4f3c754a5ece46cf34942c95 (patch) | |
tree | 926e39d979b6a97c539065f0a883a3c1c87d7cab /pkgs/shells | |
parent | aafa2b2c3d46081f1009d87ad55d438390875254 (diff) |
zsh: build pcre.so
77f84f07c47737d66445c5aa32a3740d1f91e0fa changed zsh to use pkg-config and i assumed that because the zsh binary was linked with pcre that pcre support was working, but it was not.
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/zsh/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 1a085c0e062ca..890817dd40778 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -57,6 +57,11 @@ stdenv.mkDerivation { "zsh_cv_sys_dynamic_strip_lib=yes" ]; + postPatch = '' + substituteInPlace Src/Modules/pcre.mdd \ + --replace 'pcre-config' 'true' + ''; + preConfigure = '' # use pkg-config instead of pcre-config configureFlagsArray+=("PCRECONF=''${PKG_CONFIG} libpcre") |