gdbm: avoid a warning on Darwin

This is just to minimize rebuilds.  The actual bugfix doesn't seem to
hurry, as the function has been returning void until now, so if the int
returned isn't a meaningful value in some cases, nothing should happen
yet.
This commit is contained in:
Vladimír Čunát 2018-08-10 17:53:27 +02:00
parent 46e5257670
commit 7b3036a4a2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -2,6 +2,8 @@
stdenv.mkDerivation rec {
name = "gdbm-1.17";
# FIXME: remove on update to > 1.17
NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-Wno-error=return-type" else null;
src = fetchurl {
url = "mirror://gnu/gdbm/${name}.tar.gz";