From 38ed4d99adb22bb5b20d44cdea4b687240223dd3 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 19 May 2023 07:58:50 +0100 Subject: [PATCH] alpine: pull CC_FOR_BUILD Without the change alpine build on aarch64-linux fails due to missing $target-gcc wrapper: https://hydra.nixos.org/build/219995705 checking whether the C compiler works... no configure: error: in `/build/alpine': configure: error: C compiler cannot create executables --- .../networking/mailreaders/alpine/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/alpine/default.nix b/pkgs/applications/networking/mailreaders/alpine/default.nix index 99304cfef08d..82239761190e 100644 --- a/pkgs/applications/networking/mailreaders/alpine/default.nix +++ b/pkgs/applications/networking/mailreaders/alpine/default.nix @@ -1,5 +1,15 @@ -{ lib, stdenv, fetchgit, ncurses, tcl, openssl, pam, libkrb5 -, openldap, libxcrypt, gitUpdater +{ lib +, stdenv +, fetchgit +, buildPackages +, ncurses +, tcl +, openssl +, pam +, libkrb5 +, openldap +, libxcrypt +, gitUpdater }: stdenv.mkDerivation rec { @@ -12,6 +22,8 @@ stdenv.mkDerivation rec { hash = "sha256-cJyUBatQBjD6RG+jesJ0JRhWghPRBACc/HQl+2aCTd0="; }; + depsBuildBuild = [ buildPackages.stdenv.cc ]; + buildInputs = [ ncurses tcl openssl pam libkrb5 openldap libxcrypt ];