rmate-sh: fix cross patching

+5 -1
+5 -1
pkgs/by-name/rm/rmate-sh/package.nix
··· 4 4 fetchFromGitHub, 5 5 patsh, 6 6 hostname, 7 + coreutils, 7 8 }: 8 9 9 10 stdenv.mkDerivation rec { ··· 19 20 20 21 nativeBuildInputs = [ patsh ]; 21 22 23 + # needed for cross 24 + buildInputs = [ coreutils ]; 25 + 22 26 buildPhase = '' 23 27 runHook preBuild 24 28 ··· 26 30 --replace-fail \ 27 31 'echo "hostname"' \ 28 32 'echo "${hostname}/bin/hostname"' 29 - patsh -f rmate -s ${builtins.storeDir} 33 + patsh -f rmate -s ${builtins.storeDir} --path "$HOST_PATH" 30 34 31 35 runHook postBuild 32 36 '';