stdenv: automatically update config.sub for musl

wip/yesman
Will Dietz 7 years ago
parent 41435ee8a6
commit 5dcf3cdf37
  1. 2
      pkgs/stdenv/adapters.nix

@ -94,7 +94,7 @@ rec {
# without proper `file` command, libtool sometimes fails
# to recognize 64-bit DLLs
++ stdenv.lib.optional (hostPlatform.config == "x86_64-w64-mingw32") pkgs.file
++ stdenv.lib.optional hostPlatform.isAarch64 pkgs.updateAutotoolsGnuConfigScriptsHook
++ stdenv.lib.optional (hostPlatform.isAarch64 || hostPlatform.libc == "musl") pkgs.updateAutotoolsGnuConfigScriptsHook
;
crossConfig = hostPlatform.config;

Loading…
Cancel
Save