From e17dfe13e894b774b487b2794c076901b2c81eb2 Mon Sep 17 00:00:00 2001 From: Spencer Whitt Date: Thu, 14 May 2015 18:08:43 -0400 Subject: [PATCH] bandwidth: clang fix --- pkgs/tools/misc/bandwidth/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/bandwidth/default.nix b/pkgs/tools/misc/bandwidth/default.nix index 35b13448b59d..ff5e47336d3c 100644 --- a/pkgs/tools/misc/bandwidth/default.nix +++ b/pkgs/tools/misc/bandwidth/default.nix @@ -19,7 +19,8 @@ stdenv.mkDerivation rec { buildInputs = [ nasm ]; - buildFlags = [ arch ]; + buildFlags = [ arch ] + ++ stdenv.lib.optionals stdenv.cc.isClang [ "CC=clang" "LD=clang" ]; installPhase = '' mkdir -p $out/bin