From f2282615327d804a4aca0736513803e6948a80dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 15 Mar 2026 07:51:10 +0100 Subject: [PATCH] apache-orc: don't fail on warnings, at least outside -linux https://hydra.nixos.org/build/324063460/nixlog/1/tail I'm compromising for now to avoid rebuilding this on *-linux again, but I honestly believe that this kind of warnings should not stop distro builds. They should be hard errors only in upstream builds. --- pkgs/by-name/ap/apache-orc/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ap/apache-orc/package.nix b/pkgs/by-name/ap/apache-orc/package.nix index 57d13a92797e..c648c00d517b 100644 --- a/pkgs/by-name/ap/apache-orc/package.nix +++ b/pkgs/by-name/ap/apache-orc/package.nix @@ -66,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeFeature "CMAKE_BUILD_TYPE" "Release") (lib.cmakeBool "BUILD_JAVA" false) - (lib.cmakeBool "STOP_BUILD_ON_WARNING" true) + (lib.cmakeBool "STOP_BUILD_ON_WARNING" stdenv.isLinux) (lib.cmakeBool "INSTALL_VENDORED_LIBS" false) ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [