summary refs log tree commit diff
path: root/pkgs/development/coq-modules/CoLoR
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-09-04 02:39:03 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-09-04 02:39:49 +0000
commitebce795c5c6d5d156783cff389194ab6e6c7eba5 (patch)
treeab5d93fddc235f475ceb2596a96839f84c448136 /pkgs/development/coq-modules/CoLoR
parent1af75ba80253eaf264dec2c3f3a3deb4f04df4f0 (diff)
coqPackages: remove duplication in mkCoqPackages
Diffstat (limited to 'pkgs/development/coq-modules/CoLoR')
-rw-r--r--pkgs/development/coq-modules/CoLoR/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/coq-modules/CoLoR/default.nix b/pkgs/development/coq-modules/CoLoR/default.nix
index c7aaf2a2e3299..ececcf8074051 100644
--- a/pkgs/development/coq-modules/CoLoR/default.nix
+++ b/pkgs/development/coq-modules/CoLoR/default.nix
@@ -1,5 +1,9 @@
 { stdenv, fetchurl, coq }:
 
+if !stdenv.lib.versionAtLeast coq.coq-version "8.6"
+then throw "CoLoR is not available for Coq ${coq.coq-version}"
+else
+
 stdenv.mkDerivation {
   name = "coq${coq.coq-version}-CoLoR-1.3.0";