diff --git a/emacs.nix b/emacs.nix index d4d3e12..d5e5d11 100644 --- a/emacs.nix +++ b/emacs.nix @@ -101,6 +101,12 @@ stdenv.mkDerivation rec { '' ]; + env = lib.optionalAttrs (stdenv.cc.isGNU && lib.versionOlder version "24.3") { + NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=implicit-function-declaration" + ]; + }; + installTargets = "tags install"; # Create site-start.el which is needed by the wrapper