coqPackages: move to a separate file and filter the package set
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, coq }:
|
||||
|
||||
if !stdenv.lib.versionAtLeast coq.coq-version "8.6"
|
||||
then throw "This version of HoTT requires Coq 8.6"
|
||||
else stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "coq${coq.coq-version}-HoTT-${version}";
|
||||
version = "20170921";
|
||||
|
||||
@@ -56,4 +54,8 @@ else stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ siddharthist ];
|
||||
platforms = coq.meta.platforms;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
compatibleCoqVersions = v: v == "8.6";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user