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
This commit is contained in:
Sergei Trofimovich 2023-05-19 07:58:50 +01:00
parent d5c600d316
commit 38ed4d99ad

View file

@ -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
];