Skip to content

Commit fffa4d6

Browse files
committedJul 12, 2024
fix(nix): Add missing dependencies to flake
1 parent 5a0a25b commit fffa4d6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed
 

‎flake.nix

+9-4
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
};
1717
};
1818

19-
outputs = inputs@{ flake-parts, easycrypt, jasmin, ... }:
19+
outputs = inputs@{ self, flake-parts, easycrypt, jasmin, ... }:
2020
flake-parts.lib.mkFlake { inherit inputs; } {
2121
imports = [ ];
2222
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
2323
perSystem = { pkgs, system, self', ... }:
2424
let
25-
ec = easycrypt.packages.${system};
25+
ec = easycrypt.packages.${system}.default;
2626
jasminc = pkgs.callPackage "${jasmin}/default.nix" { inherit pkgs; };
2727
in
2828
{
@@ -32,10 +32,15 @@
3232
name = "libjade";
3333
src = self'.packages.default.src;
3434

35-
packages = [
36-
ec.with_provers
35+
packages = self.packages.${system}.default.nativeBuildInputs ++ [
36+
ec
37+
pkgs.cvc4
38+
pkgs.cvc5
39+
pkgs.z3
3740
pkgs.why3
3841
(pkgs.lib.optional pkgs.stdenv.isLinux pkgs.valgrind)
42+
pkgs.emacs
43+
pkgs.emacsPackages.proof-general
3944
];
4045

4146
ECARGS = "-I Jasmin:${jasmin}/eclib";

0 commit comments

Comments
 (0)