dnsmasq: correct previous change for Darwin

I was a bit hasty in commit 482642a73.
This commit is contained in:
Vladimír Čunát 2020-02-19 13:18:06 +01:00
parent 301c706f77
commit 944775e0c5
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
sha256 = "1hnixij3jp1p6zc3bx2dr92yyf9jp1ahhl9hiiq7bkbhbrw6mbic";
})
];
postPatch = ''
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isLinux ''
sed '1i#include <linux/sockios.h>' -i src/dhcp.c
'';