mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
dumbtorrent: fix darwin build
This commit is contained in:
parent
9ab5b14d56
commit
f8f4da3561
@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "gcc" "cc"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./dumptorrent $out/bin
|
||||
|
Loading…
Reference in New Issue
Block a user