mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
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:
parent
46e5257670
commit
7b3036a4a2
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue