From 8a4e6b7e1bd466289e2201fabd53d6a3e564527d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 6 Jan 2023 06:48:35 +0000 Subject: [PATCH] stdenv/darwin: rebuild gawk earlier: in stage4 instead of final stage `gawk-5.1.1 -> 5.2.1` update (https://github.com/NixOS/nixpkgs/pull/207478) started failing `stdenv` reference checks as `gawk` now leaks `bootstrapTools` reference: `gawk` -> `gettext` -> `libiconv` -> `bootstrapTools`. The change rebuild `gawk` in `stage4` to pull rebuilt tools. --- pkgs/stdenv/darwin/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index 76c44870f4ad..113aa9462761 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -582,7 +582,7 @@ rec { let persistent = self: super: with prevStage; { inherit - gnumake gzip gnused bzip2 gawk ed xz patch bash python3 + gnumake gzip gnused bzip2 ed xz patch bash python3 ncurses libffi zlib gmp pcre gnugrep cmake coreutils findutils diffutils patchutils ninja libxml2;