From f5fac4dcd537b5d607299a4522febd942020afdc Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Thu, 1 Jul 2021 21:17:55 +0200 Subject: [PATCH] isomd5sum: support cross-compilation by moving python to nativebuildinputs --- pkgs/tools/cd-dvd/isomd5sum/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/cd-dvd/isomd5sum/default.nix b/pkgs/tools/cd-dvd/isomd5sum/default.nix index 2ca14cc4d603..9cb033e15d13 100644 --- a/pkgs/tools/cd-dvd/isomd5sum/default.nix +++ b/pkgs/tools/cd-dvd/isomd5sum/default.nix @@ -14,7 +14,9 @@ stdenv.mkDerivation rec { sha256 = "1wjnh2hlp1hjjm4a8wzdhdrm73jq41lmpmy3ls0rh715p3j7z4q9"; }; - buildInputs = [ python3 popt ] ; + strictDeps = true; + nativeBuildInputs = [ python3 ]; + buildInputs = [ popt ] ; postPatch = '' substituteInPlace Makefile --replace "#/usr/" "#"