Merge pull request #233830 from MaxHearnden/zsh

authored by Artturi and committed by GitHub de76a685 82e47257

+7 -1
+7 -1
pkgs/shells/zsh/default.nix
··· 10 10 , texinfo 11 11 , ncurses 12 12 , pcre 13 + , pkg-config 13 14 , buildPackages }: 14 15 15 16 let ··· 32 33 ]; 33 34 34 35 strictDeps = true; 35 - nativeBuildInputs = [ autoreconfHook perl groff texinfo pcre] 36 + nativeBuildInputs = [ autoreconfHook perl groff texinfo pkg-config ] 36 37 ++ lib.optionals stdenv.isLinux [ util-linux yodl ]; 37 38 38 39 buildInputs = [ ncurses pcre ]; ··· 55 56 "zsh_cv_sys_dynamic_strip_exe=yes" 56 57 "zsh_cv_sys_dynamic_strip_lib=yes" 57 58 ]; 59 + 60 + preConfigure = '' 61 + # use pkg-config instead of pcre-config 62 + configureFlagsArray+=("PCRECONF=''${PKG_CONFIG} libpcre") 63 + ''; 58 64 59 65 # the zsh/zpty module is not available on hydra 60 66 # so skip groups Y Z