diff --git a/pkgs/development/compilers/openjdk/7.nix b/pkgs/development/compilers/openjdk/7.nix index 5426b0162a72..e6186bc8f13c 100644 --- a/pkgs/development/compilers/openjdk/7.nix +++ b/pkgs/development/compilers/openjdk/7.nix @@ -69,6 +69,8 @@ let fontconfig perl file bootjdk ]; + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; + NIX_LDFLAGS = if minimal then null else "-lfontconfig -lXcursor -lXinerama"; postUnpack = ''