From f8f4da3561685281a8d740d939dbcc9bfa91032c Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 11 Aug 2016 22:18:57 -0500 Subject: [PATCH] dumbtorrent: fix darwin build --- pkgs/tools/misc/dumptorrent/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/dumptorrent/default.nix b/pkgs/tools/misc/dumptorrent/default.nix index 60a2ed29bbf8..892287fa2d70 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