From 55a3be8317a1d2e3df00af7d7f478c6330d3d917 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 22 Jan 2025 17:59:10 -0500 Subject: [PATCH] julia_{19,110}: fix build with gcc 14 --- pkgs/development/compilers/julia/generic.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/compilers/julia/generic.nix b/pkgs/development/compilers/julia/generic.nix index 16f7bbce0759..c04f28979a0a 100644 --- a/pkgs/development/compilers/julia/generic.nix +++ b/pkgs/development/compilers/julia/generic.nix @@ -91,6 +91,13 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + env = lib.optionalAttrs (lib.versionOlder version "1.11") { + NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=implicit-function-declaration" + "-Wno-error=incompatible-pointer-types" + ]; + }; + meta = with lib; { description = "High-level performance-oriented dynamical language for technical computing"; mainProgram = "julia";