summary refs log tree commit diff
path: root/pkgs/tools/networking/haproxy
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-02-16 18:48:46 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-02-20 01:01:46 +0700
commit223f25cf4a2ca9e2b35801eb0c43540151df89b9 (patch)
treea43b8bfb6b924ef794f2cba0867df97f2ce1b70c /pkgs/tools/networking/haproxy
parentad4db3f4d8ae54482c63c31c14921cb73953548d (diff)
downloadnixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.gz
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.bz2
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.lz
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.xz
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.zst
nixpkgs-223f25cf4a2ca9e2b35801eb0c43540151df89b9.zip
treewide: add targetPrefix to hardcoded references to CC=cc
Diffstat (limited to 'pkgs/tools/networking/haproxy')
-rw-r--r--pkgs/tools/networking/haproxy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/haproxy/default.nix b/pkgs/tools/networking/haproxy/default.nix
index 6ff8ba096b4..caf78c3d0b3 100644
--- a/pkgs/tools/networking/haproxy/default.nix
+++ b/pkgs/tools/networking/haproxy/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
     "USE_GETADDRINFO=1"
   ] ++ lib.optionals withPrometheusExporter [
     "EXTRA_OBJS=contrib/prometheus-exporter/service-prometheus.o"
-  ] ++ lib.optional stdenv.isDarwin "CC=cc";
+  ] ++ lib.optional stdenv.isDarwin "CC=${stdenv.cc.targetPrefix}cc";
 
   enableParallelBuilding = true;