3
0
Fork 0
forked from mirrors/nixpkgs

fltk13, octave: expose fltk13 config and override in octave

Octave needs fltk with libxft, see #8007.

I'm not much familiar with composableDerivation,
so perhaps this change could be done in a better way...
This commit is contained in:
Vladimír Čunát 2015-05-28 13:10:47 +02:00
parent cb02d37c31
commit adea54614d
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
, cfg ? {}
, automake, autoconf, libtool
}:
@ -48,7 +48,7 @@ composableDerivation.composableDerivation {} {
localpngSupport = false;
sharedSupport = true;
threadsSupport = true;
};
} // cfg;
meta = {
description = "A C++ cross-platform light-weight GUI library binding";

View file

@ -4782,7 +4782,7 @@ let
};
octave = callPackage ../development/interpreters/octave {
fltk = fltk13;
fltk = fltk13.override { cfg.xftSupport = true; };
qt = null;
ghostscript = null;
llvm = null;
@ -4792,7 +4792,7 @@ let
jdk = null;
};
octaveFull = (lowPrio (callPackage ../development/interpreters/octave {
fltk = fltk13;
fltk = fltk13.override { cfg.xftSupport = true; };
qt = qt4;
}));