summaryrefslogtreecommitdiffstats
path: root/pkgs/development/coq-modules
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-08-02 09:25:59 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-08-02 10:58:46 +0200
commit7db52ad591ad04c23024a0bc01e76bddcd0c6096 (patch)
tree6171833703eda5313d01e862ce85f650b3bc5fe8 /pkgs/development/coq-modules
parentb459d42e3c4fa1ce629a528804f62a093320e9e5 (diff)
interval: format
Diffstat (limited to 'pkgs/development/coq-modules')
-rw-r--r--pkgs/development/coq-modules/interval/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/coq-modules/interval/default.nix b/pkgs/development/coq-modules/interval/default.nix
index 82d88b4a62ea..12fe66b50da6 100644
--- a/pkgs/development/coq-modules/interval/default.nix
+++ b/pkgs/development/coq-modules/interval/default.nix
@@ -1,11 +1,11 @@
{ lib, mkCoqDerivation, which, autoconf, coq, coquelicot, flocq, bignums ? null, gnuplot_qt, version ? null }:
-with lib; mkCoqDerivation rec {
+mkCoqDerivation rec {
pname = "interval";
owner = "coqinterval";
domain = "gitlab.inria.fr";
inherit version;
- defaultVersion = with versions; switch coq.coq-version [
+ defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = isGe "8.8" ; out = "4.3.0"; }
{ case = range "8.8" "8.12"; out = "4.0.0"; }
{ case = range "8.7" "8.11"; out = "3.4.2"; }
@@ -21,7 +21,7 @@ with lib; mkCoqDerivation rec {
nativeBuildInputs = [ which autoconf ];
propagatedBuildInputs = [ bignums coquelicot flocq ]
- ++ lib.optionals (versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ];
+ ++ lib.optionals (lib.versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ];
useMelquiondRemake.logpath = "Interval";
mlPlugin = true;
enableParallelBuilding = true;