diff --git a/pkgs/servers/memcached/default.nix b/pkgs/servers/memcached/default.nix index 5e4edd0b0322..72b12d5aad5c 100644 --- a/pkgs/servers/memcached/default.nix +++ b/pkgs/servers/memcached/default.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { hardeningEnable = [ "pie" ]; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-Wno-error"; + meta = with stdenv.lib; { description = "A distributed memory object caching system"; repositories.git = https://github.com/memcached/memcached.git;