dumbtorrent: fix darwin build

This commit is contained in:
Matthew Bauer 2016-08-11 22:18:57 -05:00
parent 9ab5b14d56
commit f8f4da3561

View File

@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm";
};
patchPhase = ''
substituteInPlace Makefile \
--replace "gcc" "cc"
'';
installPhase = ''
mkdir -p $out/bin
cp ./dumptorrent $out/bin