memcached: disable treating warnings as errors on darwin

PIE hardening is not available on darwin but it's just a warning.
This commit is contained in:
Franz Pletz 2016-08-24 21:42:08 +02:00
parent f29214caed
commit 35d836660f

View file

@ -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;