zsh: fix modules when cross-compiling
This commit is contained in:
parent
fad052f056
commit
0114278a9a
|
@ -44,6 +44,16 @@ stdenv.mkDerivation {
|
|||
"--enable-pcre"
|
||||
"--enable-zprofile=${placeholder "out"}/etc/zprofile"
|
||||
"--disable-site-fndir"
|
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform && !stdenv.hostPlatform.isStatic) [
|
||||
# Also see: https://github.com/buildroot/buildroot/commit/2f32e668aa880c2d4a2cce6c789b7ca7ed6221ba
|
||||
"zsh_cv_shared_environ=yes"
|
||||
"zsh_cv_shared_tgetent=yes"
|
||||
"zsh_cv_shared_tigetstr=yes"
|
||||
"zsh_cv_sys_dynamic_clash_ok=yes"
|
||||
"zsh_cv_sys_dynamic_rtld_global=yes"
|
||||
"zsh_cv_sys_dynamic_execsyms=yes"
|
||||
"zsh_cv_sys_dynamic_strip_exe=yes"
|
||||
"zsh_cv_sys_dynamic_strip_lib=yes"
|
||||
];
|
||||
|
||||
# the zsh/zpty module is not available on hydra
|
||||
|
|
Loading…
Reference in a new issue