isomd5sum: support cross-compilation by moving python to nativebuildinputs

This commit is contained in:
Rick van Schijndel 2021-07-01 21:17:55 +02:00
parent b38329171a
commit f5fac4dcd5

View file

@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
sha256 = "1wjnh2hlp1hjjm4a8wzdhdrm73jq41lmpmy3ls0rh715p3j7z4q9";
};
buildInputs = [ python3 popt ] ;
strictDeps = true;
nativeBuildInputs = [ python3 ];
buildInputs = [ popt ] ;
postPatch = ''
substituteInPlace Makefile --replace "#/usr/" "#"