coqPackages.interval: guard version check
Avoids nasty error when trying to get non existing intervals.
This commit is contained in:
@@ -65,7 +65,9 @@ mkCoqDerivation rec {
|
||||
mathcomp-boot
|
||||
mathcomp-fingroup
|
||||
]
|
||||
++ lib.optionals (lib.versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ];
|
||||
++ lib.optionals (defaultVersion != null && lib.versions.isGe "4.2.0" defaultVersion) [
|
||||
gnuplot_qt
|
||||
];
|
||||
useMelquiondRemake.logpath = "Interval";
|
||||
mlPlugin = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user