diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-05-02 18:01:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 18:01:20 +0000 |
commit | bdb79914d64ebc1dd8cf55390ef845803f2e2285 (patch) | |
tree | 46ec0a4ea1738f5970fd4fd2347ff942e6ffa87a /pkgs/stdenv | |
parent | 2f777e46bc433f05038239f18877a4aaec8b00cc (diff) | |
parent | e4ad893057db74091ed0e3edf509a72fb83051df (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 17759d9fa1d7f..6a743f60c9b2c 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -310,6 +310,10 @@ in # top-level pkgs as an override either. perl = super.perl.override { enableThreading = false; enableCrypt = false; }; }; + + # `gettext` comes with obsolete config.sub/config.guess that don't recognize LoongArch64. + extraNativeBuildInputs = + lib.optional (localSystem.isLoongArch64) prevStage.updateAutotoolsGnuConfigScriptsHook; }) # First rebuild of gcc; this is linked against all sorts of junk @@ -387,6 +391,10 @@ in ''; }); }; + + # `gettext` comes with obsolete config.sub/config.guess that don't recognize LoongArch64. + extraNativeBuildInputs = + lib.optional (localSystem.isLoongArch64) prevStage.updateAutotoolsGnuConfigScriptsHook; }) # 2nd stdenv that contains our own rebuilt binutils and is used for @@ -469,9 +477,10 @@ in }; + # `gettext` comes with obsolete config.sub/config.guess that don't recognize LoongArch64. # `libtool` comes with obsolete config.sub/config.guess that don't recognize Risc-V. extraNativeBuildInputs = - lib.optional (localSystem.isRiscV) prevStage.updateAutotoolsGnuConfigScriptsHook; + lib.optional (localSystem.isLoongArch64 || localSystem.isRiscV) prevStage.updateAutotoolsGnuConfigScriptsHook; }) |