mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
coqPackages.hierarchy-builder: do not pass VFILES if version >= 1.1.0 (#341171)
Co-authored-by: Pierre Roux <pierre.roux@onera.fr>
This commit is contained in:
parent
e7bcab801c
commit
bbf4cf5e77
@ -29,8 +29,6 @@ let hb = mkCoqDerivation {
|
||||
|
||||
mlPlugin = true;
|
||||
|
||||
extraInstallFlags = [ "VFILES=structures.v" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High level commands to declare a hierarchy based on packed classes";
|
||||
maintainers = with maintainers; [ cohencyril siraben ];
|
||||
@ -41,6 +39,8 @@ hb.overrideAttrs (o:
|
||||
lib.optionalAttrs (lib.versions.isGe "1.2.0" o.version || o.version == "dev")
|
||||
{ buildPhase = "make build"; }
|
||||
//
|
||||
lib.optionalAttrs (lib.versions.isGe "1.1.0" o.version || o.version == "dev")
|
||||
{ installFlags = [ "DESTDIR=$(out)" ] ++ o.installFlags; }
|
||||
(if lib.versions.isGe "1.1.0" o.version || o.version == "dev" then
|
||||
{ installFlags = [ "DESTDIR=$(out)" ] ++ o.installFlags; }
|
||||
else
|
||||
{ installFlags = [ "VFILES=structures.v" ] ++ o.installFlags; })
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user