mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "iproute2-${version}";
|
name = "iproute2-${version}";
|
||||||
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
PATH=${stdenv.shell}/bin:$PATH patchShebangs $out/sbin
|
PATH=${bash}/bin:$PATH patchShebangs $out/sbin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user