diff options
Diffstat (limited to 'axioms.nix')
-rw-r--r-- | axioms.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/axioms.nix b/axioms.nix new file mode 100644 index 0000000..1bdbefb --- /dev/null +++ b/axioms.nix | |||
@@ -0,0 +1,22 @@ | |||
1 | { pkgs ? import ./nixpkgs-pinned.nix {} }: with pkgs; | ||
2 | |||
3 | stdenv.mkDerivation { | ||
4 | name = "mininix-axioms"; | ||
5 | |||
6 | src = ./.; | ||
7 | |||
8 | nativeBuildInputs = [ coq_8_20 ]; | ||
9 | buildInputs = (with coqPackages_8_20; [ | ||
10 | flocq | ||
11 | stdpp | ||
12 | ]); | ||
13 | |||
14 | buildPhase = '' | ||
15 | make validate 2>&1 | tee coqchk-output | ||
16 | ''; | ||
17 | |||
18 | installPhase = '' | ||
19 | mkdir -p $out | ||
20 | mv coqchk-output $out | ||
21 | ''; | ||
22 | } | ||