diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-03-08 22:31:55 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-03-08 22:31:55 +0100 |
commit | 13ca830f1dde5214d1c30e891531c525fb3b9a4d (patch) | |
tree | 9962975173f277b4be5d019aa5b5751952baac3d /pkgs/tools | |
parent | 37a97fa8e31bf632c74045b2b69d1e09a0807d8c (diff) |
bchunk: fix clang build
/cc ZHF #36454
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/cd-dvd/bchunk/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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; { |