tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
coqPackages.hierarchy-builder: etc
Cyril Cohen
4 years ago
314e64e4
461db988
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
coq-modules
hierarchy-builder
default.nix
+6
-4
pkgs/development/coq-modules/hierarchy-builder/default.nix
···
1
1
{ lib, mkCoqDerivation, which, coq, coq-elpi, version ? null }:
2
2
3
3
-
with lib; mkCoqDerivation {
3
3
+
with lib; let hb = mkCoqDerivation {
4
4
pname = "hierarchy-builder";
5
5
owner = "math-comp";
6
6
inherit version;
···
21
21
22
22
mlPlugin = true;
23
23
24
24
-
buildPhase = "make build";
25
25
-
26
24
installFlags = [ "DESTDIR=$(out)" "COQMF_COQLIB=lib/coq/${coq.coq-version}" ];
27
25
extraInstallFlags = [ "VFILES=structures.v" ];
28
26
···
31
29
maintainers = with maintainers; [ cohencyril siraben ];
32
30
license = licenses.mit;
33
31
};
34
34
-
}
32
32
+
}; in
33
33
+
hb.overrideAttrs (o:
34
34
+
optionalAttrs (versions.isGe "1.2.0" o.version || o.version == "dev")
35
35
+
{ buildPhase = "make build"; }
36
36
+
)