summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/alpine
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-05-19 07:58:50 +0100
committerSergei Trofimovich <slyich@gmail.com>2023-05-19 07:58:50 +0100
commit38ed4d99adb22bb5b20d44cdea4b687240223dd3 (patch)
tree39fea90b778fa500bf4244e79427c1d2953faff5 /pkgs/applications/networking/mailreaders/alpine
parentd5c600d316c828fd0b42a7e340b736fde9d860c4 (diff)
downloadnixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.tar
nixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.tar.gz
nixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.tar.bz2
nixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.tar.lz
nixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.tar.xz
nixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.tar.zst
nixpkgs-38ed4d99adb22bb5b20d44cdea4b687240223dd3.zip
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
Diffstat (limited to 'pkgs/applications/networking/mailreaders/alpine')
-rw-r--r--pkgs/applications/networking/mailreaders/alpine/default.nix16
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/alpine/default.nix b/pkgs/applications/networking/mailreaders/alpine/default.nix
index 99304cfef08..82239761190 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
   ];