From d0edb000191b5fc19971d2dec01decd65aa1957d Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sat, 12 Sep 2020 19:14:15 +0200 Subject: iproute_mptcp: fix preConfigure (#97747) --- pkgs/os-specific/linux/iproute/mptcp.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/os-specific/linux/iproute') diff --git a/pkgs/os-specific/linux/iproute/mptcp.nix b/pkgs/os-specific/linux/iproute/mptcp.nix index 4a58ae9e046..63f0abcd2a2 100644 --- a/pkgs/os-specific/linux/iproute/mptcp.nix +++ b/pkgs/os-specific/linux/iproute/mptcp.nix @@ -11,6 +11,12 @@ iproute.overrideAttrs (oa: rec { sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3"; }; + preConfigure = '' + # Don't try to create /var/lib/arpd: + sed -e '/ARPDDIR/d' -i Makefile + patchShebangs configure + ''; + meta = with stdenv.lib; { homepage = "https://github.com/multipath-tcp/iproute-mptcp"; description = "IP-Route extensions for MultiPath TCP"; -- cgit 1.4.1