pdsh: Fix building on aarch64-darwin

The build is currently broken when compiling on ARM Darwin devices due
to an `ld: symbol(s) not found for architecture arm64` error. Running
autoreconfHook resolves this.

+8 -1
+8 -1
pkgs/tools/networking/pdsh/default.nix
··· 1 - { lib, stdenv, fetchurl, perl, readline, rsh, ssh, slurm, slurmSupport ? false }: 1 + { lib, stdenv, fetchurl, autoreconfHook, perl, readline, rsh, ssh, slurm, slurmSupport ? false }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pdsh"; ··· 11 11 12 12 buildInputs = [ perl readline ssh ] 13 13 ++ (lib.optional slurmSupport slurm); 14 + 15 + nativeBuildInputs = [ autoreconfHook ]; 16 + 17 + # Do not use git to derive a version. 18 + postPatch = '' 19 + sed -i 's/m4_esyscmd(\[git describe.*/[${version}])/' configure.ac 20 + ''; 14 21 15 22 preConfigure = '' 16 23 configureFlagsArray=(