mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 04:04:06 +01:00
mkCoqDerivation: warn on superfluous enableParallelBuilding (#485720)
This commit is contained in:
commit
e072885ec3
3 changed files with 5 additions and 4 deletions
|
|
@ -98,6 +98,7 @@ let
|
|||
"dropAttrs"
|
||||
"dropDerivationAttrs"
|
||||
"keepAttrs"
|
||||
"enableParallelBuilding"
|
||||
]
|
||||
++ dropAttrs
|
||||
) keepAttrs;
|
||||
|
|
@ -201,7 +202,10 @@ stdenv.mkDerivation (
|
|||
);
|
||||
buildInputs =
|
||||
args.overrideBuildInputs or ([ coq ] ++ (args.buildInputs or [ ]) ++ extraBuildInputs);
|
||||
inherit enableParallelBuilding;
|
||||
enableParallelBuilding =
|
||||
lib.warnIf (args ? enableParallelBuilding && args.enableParallelBuilding == true)
|
||||
"mkCoqDerivation: enableParallelBuilding is enabled by default; remove the explicit setting"
|
||||
enableParallelBuilding;
|
||||
|
||||
meta =
|
||||
(
|
||||
|
|
|
|||
|
|
@ -92,8 +92,6 @@ let
|
|||
MenhirLib
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./configure \
|
||||
--replace \$\{toolprefix\}ar 'ar' \
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ mkCoqDerivation rec {
|
|||
++ lib.optionals (lib.versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ];
|
||||
useMelquiondRemake.logpath = "Interval";
|
||||
mlPlugin = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Tactics for simplifying the proofs of inequalities on expressions of real numbers for the Coq proof assistant";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue