From b0c4138a3b49c499cba8665963fc33fa361c8d5f Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 13 Feb 2018 13:55:43 -0600 Subject: [PATCH] iproute: patchshebangs to work on 'hostPlatform' (not build) --- pkgs/os-specific/linux/iproute/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix index a78107310c35..269c59f5e6fe 100644 --- a/pkgs/os-specific/linux/iproute/default.nix +++ b/pkgs/os-specific/linux/iproute/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, lib, flex, bison, db, iptables, pkgconfig }: +{ fetchurl, stdenv, lib, flex, bash, bison, db, iptables, pkgconfig }: stdenv.mkDerivation rec { name = "iproute2-${version}"; @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; postInstall = '' - PATH=${stdenv.shell}/bin:$PATH patchShebangs $out/sbin + PATH=${bash}/bin:$PATH patchShebangs $out/sbin ''; meta = with stdenv.lib; {