bridge-utils: Cleanup and add patch to correct for broken headers
This commit is contained in:
parent
1a69d88174
commit
c4ea8be9fa
|
@ -1,19 +1,17 @@
|
|||
{ stdenv, fetchurl, autoconf, automake }:
|
||||
{ stdenv, fetchurl, autoreconfHook }:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bridge-utils-1.5";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bridge/${name}.tar.gz";
|
||||
sha256 = "42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake ];
|
||||
# Remove patch once the kernel headers are updated
|
||||
patches = [ ./add-ip6-header.patch ];
|
||||
|
||||
preConfigure = "autoreconf";
|
||||
buildInputs = [ autoreconfHook ];
|
||||
|
||||
postInstall = ''
|
||||
# The bridge utils build does not fail even if the brctl binary
|
||||
|
|
Loading…
Reference in a new issue