summary refs log tree commit diff
path: root/pkgs/tools/misc/dumptorrent
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-11 22:18:57 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 19:25:41 +0000
commitf8f4da3561685281a8d740d939dbcc9bfa91032c (patch)
tree8fee6635f5428d8026fa26db65921a248cdfac51 /pkgs/tools/misc/dumptorrent
parent9ab5b14d5698c2cbbe1471475892e19d9085ebf9 (diff)
downloadnixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.tar
nixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.tar.gz
nixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.tar.bz2
nixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.tar.lz
nixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.tar.xz
nixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.tar.zst
nixpkgs-f8f4da3561685281a8d740d939dbcc9bfa91032c.zip
dumbtorrent: fix darwin build
Diffstat (limited to 'pkgs/tools/misc/dumptorrent')
-rw-r--r--pkgs/tools/misc/dumptorrent/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/dumptorrent/default.nix b/pkgs/tools/misc/dumptorrent/default.nix
index 60a2ed29bbf..892287fa2d7 100644
--- a/pkgs/tools/misc/dumptorrent/default.nix
+++ b/pkgs/tools/misc/dumptorrent/default.nix
@@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
       sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm";
     };
 
+    patchPhase = ''
+      substituteInPlace Makefile \
+        --replace "gcc" "cc"
+    '';
+
     installPhase = ''
       mkdir -p $out/bin
       cp ./dumptorrent $out/bin