{ description = "A utility to run the PostgreSQL server off a temporary data directory"; 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; }; } ); }