···11-{ skawarePackages, pkgs }:
11+{ lib
22+, stdenv
33+, skawarePackages
44+, pkgs
55+}:
2637with skawarePackages;
48···2125 # Empty the default path, which would be "/usr/bin:bin".
2226 # It would be set when PATH is empty. This hurts hermeticity.
2327 "--with-default-path="
2828+2929+ ] ++ lib.optionals (stdenv.buildPlatform.config != stdenv.hostPlatform.config) [
3030+ # ./configure: sysdep posixspawnearlyreturn cannot be autodetected
3131+ # when cross-compiling. Please manually provide a value with the
3232+ # --with-sysdep-posixspawnearlyreturn=yes|no|... option.
3333+ #
3434+ # posixspawnearlyreturn: `yes` if the target has a broken
3535+ # `posix_spawn()` implementation that can return before the
3636+ # child has successfully exec'ed. That happens with old glibcs
3737+ # and some virtual platforms.
3838+ "--with-sysdep-posixspawnearlyreturn=no"
2439 ];
25402641 postInstall = ''