diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-06-24 18:28:16 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-06-24 18:28:16 +0100 |
commit | 7e5ab23030c7160f7fea631d457eeba84917e783 (patch) | |
tree | cb6ba5beb090025a73050e063b2227d10bb15644 /flake.nix | |
parent | daf1e49862cfd0fff4fea9736815e14f335ff2c8 (diff) | |
download | vericert-7e5ab23030c7160f7fea631d457eeba84917e783.tar.gz vericert-7e5ab23030c7160f7fea631d457eeba84917e783.zip |
Move nix config to flake
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..563797f --- /dev/null +++ b/flake.nix @@ -0,0 +1,33 @@ +{ + description = "Vericert dependencies"; + + inputs = { nixpkgs.url = "github:nixos/nixpkgs"; }; + + outputs = { self, nixpkgs }: + let + pkgs = nixpkgs.legacyPackages.x86_64-linux; + ncoq = pkgs.coq_8_14; + ncoqPackages = pkgs.coqPackages_8_14; + in { + devShell.x86_64-linux = pkgs.mkShell { + buildInputs = with pkgs; + [ ncoq + dune_2 + gcc + ncoq.ocaml + ncoq.ocamlPackages.findlib + ncoq.ocamlPackages.menhir + ncoq.ocamlPackages.ocamlgraph + ncoq.ocamlPackages.menhirLib + + ncoq.ocamlPackages.ocp-indent + ncoq.ocamlPackages.utop + + ncoqPackages.serapi + python3 + python3Packages.alectryon + python3Packages.sphinx_rtd_theme + ]; + }; + }; +} |