diff options
author | Pierre Roux <pierre.roux@onera.fr> | 2021-10-25 15:20:28 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-11-02 11:36:09 +0100 |
commit | 3e66c4013f96140cc62bb9f0e0c8ca3cc815c591 (patch) | |
tree | bd09e5e4164bc9c72d6017964e6eabfdbb65b895 /pkgs/development/coq-modules/coqeal | |
parent | 81640c0d8cbc719c079dca6f24c420f1cfea9c82 (diff) |
coqPackages.coqeal: master, add dependency
In order to include matrix normal forms in CoqEAL (https://github.com/coq-community/coqeal/pull/54) we add a dependency to mathcomp-real-closed.
Diffstat (limited to 'pkgs/development/coq-modules/coqeal')
-rw-r--r-- | pkgs/development/coq-modules/coqeal/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/coq-modules/coqeal/default.nix b/pkgs/development/coq-modules/coqeal/default.nix index 3a1562b3386de..e9ce81c30a9d9 100644 --- a/pkgs/development/coq-modules/coqeal/default.nix +++ b/pkgs/development/coq-modules/coqeal/default.nix @@ -1,7 +1,10 @@ { coq, mkCoqDerivation, mathcomp, bignums, paramcoq, multinomials, + mathcomp-real-closed, lib, which, version ? null }: -with lib; mkCoqDerivation { +with lib; + +(mkCoqDerivation { pname = "CoqEAL"; @@ -25,4 +28,7 @@ with lib; mkCoqDerivation { description = "CoqEAL - The Coq Effective Algebra Library"; license = licenses.mit; }; -} +}).overrideAttrs (o: { + propagatedBuildInputs = o.propagatedBuildInputs + ++ optional (versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed; +}) |