Skip to content

Commit de1c0f4

Browse files
octave: fix cross build
1 parent c97cbc1 commit de1c0f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkgs/development/interpreters/octave/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,14 @@ stdenv.mkDerivation (finalAttrs: {
106106
sha256 = "sha256-gJ+jmnrMhIFb9NxNLX5rIoznWgfzskE/MxOqjgqqMoc=";
107107
};
108108

109+
postPatch = ''
110+
patchShebangs --build build-aux/*.pl
111+
'';
112+
109113
buildInputs =
110114
[
111115
readline
112116
ncurses
113-
perl
114117
flex
115118
qhull
116119
graphicsmagick
@@ -157,6 +160,7 @@ stdenv.mkDerivation (finalAttrs: {
157160
];
158161
nativeBuildInputs =
159162
[
163+
perl
160164
pkg-config
161165
gfortran
162166
texinfo

0 commit comments

Comments
 (0)