iproute: patchshebangs to work on 'hostPlatform' (not build)

+2 -2
+2 -2
pkgs/os-specific/linux/iproute/default.nix
··· 1 - { fetchurl, stdenv, lib, flex, bison, db, iptables, pkgconfig }: 1 + { fetchurl, stdenv, lib, flex, bash, bison, db, iptables, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "iproute2-${version}"; ··· 40 40 enableParallelBuilding = true; 41 41 42 42 postInstall = '' 43 - PATH=${stdenv.shell}/bin:$PATH patchShebangs $out/sbin 43 + PATH=${bash}/bin:$PATH patchShebangs $out/sbin 44 44 ''; 45 45 46 46 meta = with stdenv.lib; {