octave: Makeinfo is no longer needed at runtime

This commit is contained in:
Doron Behar 2020-02-11 22:46:17 +02:00
parent b74fe1a248
commit 40c2fb8b1e
1 changed files with 1 additions and 6 deletions

View File

@ -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;