summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 73a59bc7bcc797b4e468062dd4a856645d8159b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  description = "A temporary PostgreSQL server";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = { self, nixpkgs, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let pkgs = nixpkgs.legacyPackages.${system};
      in {
        overlays.default = import ./overlay.nix;
        packages = {
          temp-postgres = pkgs.callPackage ./temp-postgres.nix {};
          default = self.packages.${system}.temp-postgres;
        };
      }
    );
}
Generated by cgit. See skreutz.com for my tech blog and contact information.