blob: 386b141d52893ed7299ee35a0e4799960d7ea81d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Derived from https://github.com/ryantm/agenix/blob/1381a759b205dff7a6818733118d02253340fd5e/flake.nix
{
description = "A temporary PostgreSQL server";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
};
outputs = { self, nixpkgs, systems }:
let
eachSystem = nixpkgs.lib.genAttrs (import systems);
in {
overlays.default = import ./overlay.nix;
packages = eachSystem (system: {
temp-postgres = nixpkgs.legacyPackages.${system}.callPackage ./temp-postgres.nix {};
default = self.packages.${system}.temp-postgres;
});
};
}
|
for my tech blog and contact information.