summaryrefslogtreecommitdiffstats
path: root/server/formal/flake.nix
blob: 57efa11abc93abb1d57bb86d2f80b895fe55e574 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = { self, nixpkgs, flake-utils, ... }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs { inherit system; };

        # From 22-04-2026
        stdpp = with pkgs; coqPackages.lib.overrideCoqDerivation {
          version = "dev";
          release."dev".sha256 = "hN+sEZcIaFoFF2+4dStTc0TRz5A03US6csEk5q0r/z8=";
          release."dev".rev = "d3c67aa46ed22b1e593457cd34fc711f1a53b8be";
        } coqPackages.stdpp;
      in
      {
        devShells.default = with pkgs; mkShell {
          buildInputs = [ coq stdpp ];
        };

        formatter = pkgs.nixpkgs-fmt;
      });
}