From bab30c06f176eef80cb5e110102583c13d883fbb Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Mon, 15 May 2023 22:45:00 +0200 Subject: [PATCH] dumptorrent: support cross compilation --- pkgs/tools/misc/dumptorrent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ''