Merge pull request #75134 from andersk/gnuplot_qt
gnuplot_qt: Use qt mkDerivation
This commit is contained in:
commit
4d9ccae632
@ -11,14 +11,14 @@
|
||||
, fontconfig ? null
|
||||
, gnused ? null
|
||||
, coreutils ? null
|
||||
, withQt ? false, qttools, qtbase, qtsvg
|
||||
, withQt ? false, mkDerivation, qttools, qtbase, qtsvg
|
||||
}:
|
||||
|
||||
assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
|
||||
let
|
||||
withX = libX11 != null && !aquaterm && !stdenv.isDarwin;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
(if withQt then mkDerivation else stdenv.mkDerivation) rec {
|
||||
name = "gnuplot-5.2.7";
|
||||
|
||||
src = fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user