Skip to content

Commit

Permalink
dnsmasq: correct previous change for Darwin
Browse files Browse the repository at this point in the history
I was a bit hasty in commit 482642a.
  • Loading branch information
vcunat committed Feb 19, 2020
1 parent 301c706 commit 944775e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/networking/dnsmasq/default.nix
Expand Up @@ -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
'';

Expand Down

0 comments on commit 944775e

Please sign in to comment.