linuxPackages.spl: remove unnecessary substituteInPlace

`substituteInPlace` was operating on a non-existant file.
Updated to use `autoreconfHook`.

+2 -6
+2 -6
pkgs/os-specific/linux/spl/default.nix
··· 1 - { fetchFromGitHub, stdenv, autoconf, automake, libtool, coreutils, gawk 1 + { fetchFromGitHub, stdenv, autoreconfHook, coreutils, gawk 2 2 , configFile ? "all" 3 3 4 4 # Kernel dependencies ··· 28 28 29 29 patches = [ ./const.patch ./install_prefix.patch ]; 30 30 31 - buildInputs = [ autoconf automake libtool ]; 31 + nativeBuildInputs = [ autoreconfHook ]; 32 32 33 33 preConfigure = '' 34 - ./autogen.sh 35 - 36 34 substituteInPlace ./module/spl/spl-generic.c --replace /usr/bin/hostid hostid 37 - substituteInPlace ./module/spl/spl-module.c --replace /bin/mknod mknod 38 - 39 35 substituteInPlace ./module/spl/spl-generic.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:${gawk}:/bin" 40 36 substituteInPlace ./module/splat/splat-vnode.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:/bin" 41 37 substituteInPlace ./module/splat/splat-linux.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:/bin"