anchor.diff:    };
   
     preConfigure = ''
  -    patchShebangs ./configure
  +    # Don't try to create /var/lib/arpd:
       sed -e '/ARPDDIR/d' -i Makefile
       # Don't build netem tools--they're not installed and require HOSTCC
       substituteInPlace Makefile --replace " netem " " "
  
positive.code: { fetchurl, stdenv, flex, bash, bison, db, iptables, pkgconfig, libelf, libmnl }:
  
  stdenv.mkDerivation rec {
    pname = "iproute2";
  
negative.code:     "CONFDIR=$(out)/etc/iproute2"
    ];
  
    nativeBuildInputs = [ bison flex pkg-config ];
    buildInputs = [ db iptables libelf libmnl ];
  
    enableParallelBuilding = true;
  
    meta = with stdenv.lib; {
      homepage = "https://wiki.linuxfoundation.org/networking/iproute2";
      description = "A collection of utilities for controlling TCP/IP networking and traffic control in Linux";
      platforms = platforms.linux;
      license = licenses.gpl2;
  