From 9e230d0c4378b5c992c820cc1f4322896f739095 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Mon, 18 Mar 2024 07:01:48 +0100 Subject: Update the flake.nix and the flake.lock --- flake.nix | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index cfeb5188..32898765 100644 --- a/flake.nix +++ b/flake.nix @@ -8,15 +8,11 @@ flake-utils.follows = "charon/flake-utils"; nixpkgs.follows = "charon/nixpkgs"; hacl-nix.url = "github:hacl-star/hacl-nix"; - lean.url = "github:leanprover/lean4"; - #lake.url = "github:leanprover/lake"; - lake.url = "github:leanprover/lake/lean4-master"; - #lake.flake = false; }; # Remark: keep the list of outputs in sync with the list of inputs above # (see above remark) - outputs = { self, charon, flake-utils, nixpkgs, hacl-nix, lean, lake }: + outputs = { self, charon, flake-utils, nixpkgs, hacl-nix }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let pkgs = import nixpkgs { inherit system; }; @@ -126,20 +122,6 @@ # The tests don't generate anything - TODO: actually they do installPhase = "touch $out"; }; - # Replay the Lean proofs. TODO: doesn't work - aeneas-verify-lean = pkgs.stdenv.mkDerivation { - name = "aeneas_verify_lean"; - src = ./tests/lean; - #LAKE_EXE = lean.packages.${system}; - #buildInputs = [lean.packages.${system}.lake-dev]; - buildInputs = [lean.packages.${system} lake.packages.${system}.cli]; - #buildInputs = [lake.packages.${system}.cli]; - buildPhase= '' - make prepare-projects - #make verify -j $NIX_BUILD_CORES - make verify - ''; - }; # Replay the HOL4 proofs # # Remark: we tried to have two targets, one for ./backends/hol4 and @@ -174,7 +156,6 @@ inherit aeneas aeneas-tests aeneas-verify-fstar aeneas-verify-coq - aeneas-verify-lean aeneas-verify-hol4; }; }); } -- cgit v1.2.3