summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 8abc618c29f0a718d953615e0c9328b5d4e99db0 (plain)
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
27
28
29
30
31
32
33
34
35
36
{
  outputs = { nixpkgs, self }:
    let
      supportedSystems = [
        "x86_64-linux"
        "aarch64-darwin"
      ];
      eachSystem = nixpkgs.lib.genAttrs supportedSystems;
      eachNixpkgs = f: eachSystem (system: f (import nixpkgs { inherit system; }));
    in
      {
        packages = eachNixpkgs (pkgs: {

        });

        devShells = eachNixpkgs (pkgs: {
          default = pkgs.mkShell {
            inputsFrom = [
              # self.packages.${pkgs.system}.default
            ];
            buildInputs = with pkgs; [
              # Services needed for a full deployment.
              minio
              beanstalkd
              postgresql_17

              # Development utilities.
              minio-client
              modd
            ];
          };
        });

        formatter = eachNixpkgs (pkgs: pkgs.alejandra);
      };
}