mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
coqPackages.contribs: recurse into the nested set
This commit is contained in:
parent
16467a0ff7
commit
25576df64c
@ -1,4 +1,4 @@
|
||||
{ lib, callPackage, newScope
|
||||
{ lib, callPackage, newScope, recurseIntoAttrs
|
||||
, gnumake3
|
||||
, ocamlPackages_3_12_1
|
||||
, ocamlPackages_4_02
|
||||
@ -10,6 +10,9 @@ let
|
||||
inherit callPackage coq;
|
||||
coqPackages = self;
|
||||
|
||||
contribs = recurseIntoAttrs
|
||||
(callPackage ../development/coq-modules/contribs {});
|
||||
|
||||
autosubst = callPackage ../development/coq-modules/autosubst {};
|
||||
bignums = if lib.versionAtLeast coq.coq-version "8.6"
|
||||
then callPackage ../development/coq-modules/bignums {}
|
||||
@ -33,11 +36,10 @@ let
|
||||
paco = callPackage ../development/coq-modules/paco {};
|
||||
QuickChick = callPackage ../development/coq-modules/QuickChick {};
|
||||
ssreflect = callPackage ../development/coq-modules/ssreflect { };
|
||||
contribs = callPackage ../development/coq-modules/contribs { };
|
||||
};
|
||||
|
||||
filterCoqPackages = coq:
|
||||
lib.filterAttrs
|
||||
lib.filterAttrsRecursive
|
||||
(_: p:
|
||||
let pred = p.compatibleCoqVersions or (_: true);
|
||||
in pred coq.coq-version
|
||||
|
Loading…
Reference in New Issue
Block a user