Skip to content

Commit 9366fa8

Browse files
committed
WIP coq-tools
1 parent 10bbfd0 commit 9366fa8

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
@@ -115,12 +115,12 @@ with builtins; with (import <nixpkgs> {}).lib;
115115
# "coq-hammer" -> overlay
116116
# "flocq" -> overlay
117117
# "coq-performance-tests" -> overlay
118-
# TODO coq-tools
118+
# "coq-tools" -> overlay
119119
"coquelicot"
120120
# "compcert" -> overlay
121121
# "vst" -> overlay
122122
# TODO cross-crypto -> Docker
123-
# TODO rewriter
123+
# TODO rewriter -> Docker
124124
# TODO fiat_parsers -> Docker
125125
# TODO fiat_crypto_legacy -> Docker
126126
# TODO fiat_crypto -> Docker
@@ -227,6 +227,7 @@ with builtins; with (import <nixpkgs> {}).lib;
227227
neural-net-coq-interp.override.version = "proux01:split_stdlib";
228228
engine-bench.override.version = "proux01:split_stdlib";
229229
coq-performance-tests.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, bash, ncurses, 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 = [ bash ncurses 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)