diff options
| author | Rutger Broekhoff | 2026-08-28 18:03:05 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-08-28 18:03:05 +0200 |
| commit | 973aec43ea54bbf95b64fbcb636403401d1ca60e (patch) | |
| tree | 41b7911c420766a9b463245b9296f44c5bf35258 /server/formal/flake.nix | |
| download | routemon-973aec43ea54bbf95b64fbcb636403401d1ca60e.tar.gz routemon-973aec43ea54bbf95b64fbcb636403401d1ca60e.zip | |
Import from e4b104792206ee7ea64bf39c6b7d2c0c230f9d14
Diffstat (limited to 'server/formal/flake.nix')
| -rw-r--r-- | server/formal/flake.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/server/formal/flake.nix b/server/formal/flake.nix new file mode 100644 index 0000000..57efa11 --- /dev/null +++ b/server/formal/flake.nix | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | { | ||
| 2 | inputs = { | ||
| 3 | nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; | ||
| 4 | flake-utils.url = "github:numtide/flake-utils"; | ||
| 5 | }; | ||
| 6 | |||
| 7 | outputs = { self, nixpkgs, flake-utils, ... }: | ||
| 8 | flake-utils.lib.eachDefaultSystem (system: | ||
| 9 | let | ||
| 10 | pkgs = import nixpkgs { inherit system; }; | ||
| 11 | |||
| 12 | # From 22-04-2026 | ||
| 13 | stdpp = with pkgs; coqPackages.lib.overrideCoqDerivation { | ||
| 14 | version = "dev"; | ||
| 15 | release."dev".sha256 = "hN+sEZcIaFoFF2+4dStTc0TRz5A03US6csEk5q0r/z8="; | ||
| 16 | release."dev".rev = "d3c67aa46ed22b1e593457cd34fc711f1a53b8be"; | ||
| 17 | } coqPackages.stdpp; | ||
| 18 | in | ||
| 19 | { | ||
| 20 | devShells.default = with pkgs; mkShell { | ||
| 21 | buildInputs = [ coq stdpp ]; | ||
| 22 | }; | ||
| 23 | |||
| 24 | formatter = pkgs.nixpkgs-fmt; | ||
| 25 | }); | ||
| 26 | } | ||