From fffa4d669c7b8a3a3f073b89f3913f9b1ecb0919 Mon Sep 17 00:00:00 2001 From: Aaron Kaiser Date: Fri, 12 Jul 2024 12:27:14 +0200 Subject: [PATCH] fix(nix): Add missing dependencies to flake --- flake.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 10e35d24..cbbb2630 100644 --- a/flake.nix +++ b/flake.nix @@ -16,13 +16,13 @@ }; }; - outputs = inputs@{ flake-parts, easycrypt, jasmin, ... }: + outputs = inputs@{ self, flake-parts, easycrypt, jasmin, ... }: flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ]; systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; perSystem = { pkgs, system, self', ... }: let - ec = easycrypt.packages.${system}; + ec = easycrypt.packages.${system}.default; jasminc = pkgs.callPackage "${jasmin}/default.nix" { inherit pkgs; }; in { @@ -32,10 +32,15 @@ name = "libjade"; src = self'.packages.default.src; - packages = [ - ec.with_provers + packages = self.packages.${system}.default.nativeBuildInputs ++ [ + ec + pkgs.cvc4 + pkgs.cvc5 + pkgs.z3 pkgs.why3 (pkgs.lib.optional pkgs.stdenv.isLinux pkgs.valgrind) + pkgs.emacs + pkgs.emacsPackages.proof-general ]; ECARGS = "-I Jasmin:${jasmin}/eclib";