From 482642a733f1254d33b816f51c152fbd269db818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 19 Feb 2020 13:13:22 +0100 Subject: [PATCH] dnsmasq: fixup build after kernel header changes https://github.com/torvalds/linux/commit/0768e17073d --- pkgs/tools/networking/dnsmasq/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/networking/dnsmasq/default.nix b/pkgs/tools/networking/dnsmasq/default.nix index f224ab1ac935..22609eff9aec 100644 --- a/pkgs/tools/networking/dnsmasq/default.nix +++ b/pkgs/tools/networking/dnsmasq/default.nix @@ -27,6 +27,9 @@ stdenv.mkDerivation rec { sha256 = "1hnixij3jp1p6zc3bx2dr92yyf9jp1ahhl9hiiq7bkbhbrw6mbic"; }) ]; + postPatch = '' + sed '1i#include ' -i src/dhcp.c + ''; preBuild = '' makeFlagsArray=("COPTS=${copts}")