Commit 38ed4d99 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

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
parent d5c600d3
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
{ 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
  ];