Files
tapl-proofs/flake.nix
T
2026-06-24 21:36:42 +09:00

33 lines
686 B
Nix

{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
let
inherit (nixpkgs) lib;
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = f: lib.genAttrs systems (system: f system nixpkgs.legacyPackages.${system});
in {
devShells = forAllSystems (_: pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
coq_8_18
coqPackages_8_18.stdlib
coqPackages_8_18.vsrocq-language-server
];
shellHook = ''
export ROCQPATH="$COQPATH"
unset COQPATH
'';
};
});
};
}