lsiutil: substituteInPlace in the patch phase instead of buildPhase

Luflosi fa5bc848 1cf957f8

+6 -3
+6 -3
pkgs/os-specific/linux/lsiutil/default.nix
··· 14 14 sha256 = "sha256-aTi+EogY1aDWYq3anjRkjz1mzINVfUPQbOPHthxrvS4="; 15 15 }; 16 16 17 + postPatch = '' 18 + substituteInPlace lsiutil.c \ 19 + --replace /sbin/modprobe "${kmod}/bin/modprobe" \ 20 + --replace /bin/mknod "${coreutils}/bin/mknod" 21 + ''; 22 + 17 23 buildPhase = '' 18 24 runHook preBuild 19 25 20 - substituteInPlace lsiutil.c \ 21 - --replace /sbin/modprobe "${kmod}/bin/modprobe" \ 22 - --replace /bin/mknod "${coreutils}/bin/mknod" 23 26 gcc -Wall -O lsiutil.c -o lsiutil 24 27 25 28 runHook postBuild