From de1c0f43d48e9ba47557acc0ca625dca8501a473 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sun, 19 Jan 2025 12:21:41 +0100 Subject: [PATCH] octave: fix cross build --- pkgs/development/interpreters/octave/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index 204b96fb0712e..f86785ac28878 100644 --- a/pkgs/development/interpreters/octave/default.nix +++ b/pkgs/development/interpreters/octave/default.nix @@ -106,11 +106,14 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "sha256-gJ+jmnrMhIFb9NxNLX5rIoznWgfzskE/MxOqjgqqMoc="; }; + postPatch = '' + patchShebangs --build build-aux/*.pl + ''; + buildInputs = [ readline ncurses - perl flex qhull graphicsmagick @@ -157,6 +160,7 @@ stdenv.mkDerivation (finalAttrs: { ]; nativeBuildInputs = [ + perl pkg-config gfortran texinfo