Skip to content

Commit

Permalink
octave: Do not --enable-link-all-dependencies on Darwin
Browse files Browse the repository at this point in the history
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] gnu-octave/octave@d4479bd
  • Loading branch information
KarlJoad committed Dec 28, 2024
1 parent 1557114 commit 9e3db9e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgs/development/interpreters/octave/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand Down

0 comments on commit 9e3db9e

Please sign in to comment.