diff --git a/pkgs/tools/cd-dvd/bchunk/default.nix b/pkgs/tools/cd-dvd/bchunk/default.nix index a4298bf2920f..6828ef7d61d3 100644 --- a/pkgs/tools/cd-dvd/bchunk/default.nix +++ b/pkgs/tools/cd-dvd/bchunk/default.nix @@ -9,9 +9,11 @@ stdenv.mkDerivation rec { sha256 = "12dxx98kbpc5z4dgni25280088bhlsb677rp832r82zzc1drpng7"; }; + makeFlags = stdenv.lib.optionals stdenv.cc.isClang [ "CC=cc" "LD=cc" ]; + installPhase = '' install -Dt $out/bin bchunk - install -Dt $out/share/man/man1 bchunk.1 + install -Dt $out/share/man/man1 bchunk.1 ''; meta = with stdenv.lib; {