mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
dnsmasq: correct previous change for Darwin
I was a bit hasty in commit 482642a73
.
This commit is contained in:
parent
301c706f77
commit
944775e0c5
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user