Loading pkgs/shells/bash/5.nix +2 −2 Original line number Diff line number Diff line Loading @@ -79,8 +79,8 @@ stdenv.mkDerivation rec { "bash_cv_getcwd_malloc=yes" # This check cannot be performed when cross compiling. The "yes" # default is fine for static linking on Linux (weak symbols?) but # not with OpenBSD, when it does clash with the regular `getenv`. "bash_cv_getenv_redef=${if !(with stdenv.hostPlatform; isStatic && isOpenBSD) then "yes" else "no"}" # not with BSDs, when it does clash with the regular `getenv`. "bash_cv_getenv_redef=${if !(with stdenv.hostPlatform; isStatic && (isOpenBSD || isFreeBSD)) then "yes" else "no"}" ] ++ lib.optionals stdenv.hostPlatform.isCygwin [ "--without-libintl-prefix" "--without-libiconv-prefix" Loading Loading
pkgs/shells/bash/5.nix +2 −2 Original line number Diff line number Diff line Loading @@ -79,8 +79,8 @@ stdenv.mkDerivation rec { "bash_cv_getcwd_malloc=yes" # This check cannot be performed when cross compiling. The "yes" # default is fine for static linking on Linux (weak symbols?) but # not with OpenBSD, when it does clash with the regular `getenv`. "bash_cv_getenv_redef=${if !(with stdenv.hostPlatform; isStatic && isOpenBSD) then "yes" else "no"}" # not with BSDs, when it does clash with the regular `getenv`. "bash_cv_getenv_redef=${if !(with stdenv.hostPlatform; isStatic && (isOpenBSD || isFreeBSD)) then "yes" else "no"}" ] ++ lib.optionals stdenv.hostPlatform.isCygwin [ "--without-libintl-prefix" "--without-libiconv-prefix" Loading