diff --git a/pkgs/tools/misc/dumptorrent/default.nix b/pkgs/tools/misc/dumptorrent/default.nix index 12232c414fd3..3199bae9987e 100644 --- a/pkgs/tools/misc/dumptorrent/default.nix +++ b/pkgs/tools/misc/dumptorrent/default.nix @@ -9,9 +9,9 @@ stdenv.mkDerivation rec { sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm"; }; - patchPhase = '' + postPatch = '' substituteInPlace Makefile \ - --replace "gcc" "cc" + --replace "gcc" "$CC" ''; installPhase = ''