From 9e3db9e5f923f07f9ec7341e6466686b05606e6e Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Fri, 27 Dec 2024 11:07:34 -0600 Subject: [PATCH] octave: Do not --enable-link-all-dependencies on Darwin It seems like upstream Octave removed the requirement that Darwin default to linking all of its dependencies[1]. Some packages (ltfat) cannot link against Octave for some reason. Removing this optinal configure flag fixes this issue. [1] https://github.com/gnu-octave/octave/commit/d4479bd8aef35911e07851ef3aee89ef3954604b --- pkgs/development/interpreters/octave/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index 9b0fb1eeeb9b5..204b96fb0712e 100644 --- a/pkgs/development/interpreters/octave/default.nix +++ b/pkgs/development/interpreters/octave/default.nix @@ -183,7 +183,6 @@ stdenv.mkDerivation (finalAttrs: { "--with-lapack=lapack" (if use64BitIdx then "--enable-64" else "--disable-64") ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--enable-link-all-dependencies" ] ++ lib.optionals enableReadline [ "--enable-readline" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--with-x=no" ] ++ lib.optionals enableQt [ "--with-qt=5" ];