coqPackages: remove duplication in mkCoqPackages

This commit is contained in:
Vincent Laporte
2017-09-04 02:39:49 +00:00
parent 1af75ba802
commit ebce795c5c
2 changed files with 9 additions and 25 deletions
@@ -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";