diff --git a/pkgs/development/interpreters/octave/build-octave-package.nix b/pkgs/development/interpreters/octave/build-octave-package.nix index eaba806e957d72..43760c6c511e32 100644 --- a/pkgs/development/interpreters/octave/build-octave-package.nix +++ b/pkgs/development/interpreters/octave/build-octave-package.nix @@ -123,10 +123,6 @@ stdenv.mkDerivation ( else preBuild; - # Add Octave's shared objects to ld library path for some packages which - # need to link their C/C++/Fortran code against Octave's internals. - LD_LIBRARY_PATH = lib.makeLibraryPath nativeBuildInputs'; - buildPhase = '' runHook preBuild diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index 9b0fb1eeeb9b51..204b96fb0712ee 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" ];