Skip to content

Commit 07a72fa

Browse files
committed
WIP coq-tools
1 parent dfcc23c commit 07a72fa

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.nix/config.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ with builtins; with (import <nixpkgs> {}).lib;
116116
# "coq-hammer" -> overlay
117117
# "flocq" -> overlay
118118
# TODO coq-performance-tests
119-
# TODO coq-tools
119+
# "coq-tools" -> overlay
120120
"coquelicot"
121121
# "compcert" -> overlay
122122
# "vst" -> overlay
123123
# TODO cross-crypto -> Docker
124-
# TODO rewriter
124+
# TODO rewriter -> Docker
125125
# TODO fiat_parsers -> Docker
126126
# TODO fiat_crypto_legacy -> Docker
127127
# TODO fiat_crypto -> Docker
@@ -227,6 +227,7 @@ with builtins; with (import <nixpkgs> {}).lib;
227227
json.override.version = "proux01:split_stdlib";
228228
neural-net-coq-interp.override.version = "proux01:split_stdlib";
229229
engine-bench.override.version = "proux01:split_stdlib";
230+
coq-tools.override.version = "proux01:split_stdlib";
230231
};
231232
in {
232233
"coq-master".coqPackages = common-bundles // {
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{ lib, python3, mkCoqDerivation, coq, stdlib, version ? null }:
2+
3+
mkCoqDerivation {
4+
pname = "coq-tools";
5+
owner = "JasonGross";
6+
inherit version;
7+
defaultVersion = null; # no released version
8+
9+
nativeBuildInputs = [ python3 ];
10+
propagatedBuildInputs = [ stdlib ];
11+
12+
preConfigure = ''
13+
for f in $(find . -name "*.sh") ; do patchShebangs $f ; done
14+
'';
15+
16+
buildFlags = [ "check" ];
17+
18+
installPhase = "";
19+
}

0 commit comments

Comments
 (0)