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 }: 2 3 stdenv.mkDerivation rec { 4 name = "iproute2-${version}"; ··· 40 enableParallelBuilding = true; 41 42 postInstall = '' 43 - PATH=${stdenv.shell}/bin:$PATH patchShebangs $out/sbin 44 ''; 45 46 meta = with stdenv.lib; {
··· 1 + { fetchurl, stdenv, lib, flex, bash, bison, db, iptables, pkgconfig }: 2 3 stdenv.mkDerivation rec { 4 name = "iproute2-${version}"; ··· 40 enableParallelBuilding = true; 41 42 postInstall = '' 43 + PATH=${bash}/bin:$PATH patchShebangs $out/sbin 44 ''; 45 46 meta = with stdenv.lib; {