mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
iproute: patchshebangs to work on 'hostPlatform' (not build)
This commit is contained in:
parent
767bddbd80
commit
b0c4138a3b
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user