diff options
author | Graham Bennett <graham@grahambennett.org> | 2021-07-21 21:07:07 +0100 |
---|---|---|
committer | Graham Bennett <graham@grahambennett.org> | 2021-07-24 13:02:54 +0100 |
commit | 09b931bd40fccad6d846750a3244bddf8e027227 (patch) | |
tree | c97e523822fe68577093ea8cd81d73fa110bc87b /pkgs/development/interpreters | |
parent | 2129356a6405cc342e860d87623d3823e8ee3b8c (diff) |
octaveFull: fix linker error on Darwin
See https://trac.macports.org/ticket/61865.
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/octave/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index 0a87c1ddcf07..825b035d7a6f 100644 --- a/pkgs/development/interpreters/octave/default.nix +++ b/pkgs/development/interpreters/octave/default.nix @@ -184,6 +184,9 @@ let enableParallelBuilding = true; + # Fix linker error on Darwin (see https://trac.macports.org/ticket/61865) + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lobjc"; + # See https://savannah.gnu.org/bugs/?50339 F77_INTEGER_8_FLAG = if use64BitIdx then "-fdefault-integer-8" else ""; |