octave: use qt-5 mkDerivation for wrapQtAppsHook

This is to ensure QT_QPA_PLATFORM_PLUGIN_PATH is set on Darwin.
This commit is contained in:
Graham Bennett
2020-09-25 09:57:25 +03:00
committed by Doron Behar
parent 52075a824d
commit 3a5bcb313e
2 changed files with 7 additions and 2 deletions
@@ -1,4 +1,7 @@
{ stdenv
# Note: either stdenv.mkDerivation or, for octaveFull, the qt-5 mkDerivation
# with wrapQtAppsHook (comes from libsForQt5.callPackage)
, mkDerivation
, fetchurl
, gfortran
, ncurses
@@ -55,7 +58,7 @@
assert (!blas.isILP64) && (!lapack.isILP64);
stdenv.mkDerivation rec {
mkDerivation rec {
version = "5.2.0";
pname = "octave";
+3 -1
View File
@@ -10124,14 +10124,16 @@ in
octave = callPackage ../development/interpreters/octave {
python = python3;
mkDerivation = stdenv.mkDerivation;
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
};
octave-jit = callPackage ../development/interpreters/octave {
python = python3;
enableJIT = true;
mkDerivation = stdenv.mkDerivation;
jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
};
octaveFull = (lowPrio (libsForQt512.callPackage ../development/interpreters/octave {
octaveFull = (lowPrio (libsForQt5.callPackage ../development/interpreters/octave {
python = python3;
enableQt = true;
overridePlatforms = ["x86_64-linux" "x86_64-darwin"];