bridge-utils: Cleanup and add patch to correct for broken headers

+5 -7
+5 -7
pkgs/os-specific/linux/bridge-utils/default.nix
··· 1 - { stdenv, fetchurl, autoconf, automake }: 1 + { stdenv, fetchurl, autoreconfHook }: 2 2 3 - let 3 + stdenv.mkDerivation rec { 4 4 name = "bridge-utils-1.5"; 5 - in 6 - stdenv.mkDerivation { 7 - inherit name; 8 5 9 6 src = fetchurl { 10 7 url = "mirror://sourceforge/bridge/${name}.tar.gz"; 11 8 sha256 = "42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688"; 12 9 }; 13 10 14 - buildInputs = [ autoconf automake ]; 11 + # Remove patch once the kernel headers are updated 12 + patches = [ ./add-ip6-header.patch ]; 15 13 16 - preConfigure = "autoreconf"; 14 + buildInputs = [ autoreconfHook ]; 17 15 18 16 postInstall = '' 19 17 # The bridge utils build does not fail even if the brctl binary