forked from TWal/comparse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
24 lines (23 loc) · 661 Bytes
/
flake.nix
File metadata and controls
24 lines (23 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
inputs = {
fstar-flake.url = "github:FStarLang/FStar";
nixpkgs.follows = "fstar-flake/nixpkgs";
};
outputs = {self, nixpkgs, fstar-flake}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
z3 = fstar-flake.packages.${system}.z3;
fstar = fstar-flake.packages.${system}.fstar;
ocamlPackages = fstar-flake.packages.${system}.ocamlPackages;
comparse = pkgs.callPackage ./default.nix {inherit fstar z3 ocamlPackages;};
in {
packages.${system} = {
inherit fstar comparse;
};
checks.${system} = {
comparse-build = comparse;
comparse-tests = comparse.tests;
};
};
}