From 40c2fb8b1e1bd1aea27f10288022ffb7c8759969 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 11 Feb 2020 22:46:17 +0200 Subject: [PATCH] octave: Makeinfo is no longer needed at runtime --- pkgs/development/interpreters/octave/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index 28fcf4dd6ff..f870a609cf9 100644 --- a/pkgs/development/interpreters/octave/default.nix +++ b/pkgs/development/interpreters/octave/default.nix @@ -62,6 +62,7 @@ in stdenv.mkDerivation rec { version = "5.2.0"; pname = "octave"; + src = fetchurl { url = "mirror://gnu/octave/${pname}-${version}.tar.gz"; sha256 = "1qcmcpsq1lfka19fxzvxjwjhg113c39a9a0x8plkhvwdqyrn5sig"; @@ -83,12 +84,6 @@ stdenv.mkDerivation rec { ++ (stdenv.lib.optionals (!stdenv.isDarwin) [ libGL libGLU libX11 ]) ; - # makeinfo is required by Octave at runtime to display help - prePatch = '' - substituteInPlace libinterp/corefcn/help.cc \ - --replace 'Vmakeinfo_program = "makeinfo"' \ - 'Vmakeinfo_program = "${texinfo}/bin/makeinfo"' - ''; doCheck = !stdenv.isDarwin;