Skip to content

Commit a354427

Browse files
jchancojrsamrose
andauthored
feat(Nix-flakes): Add pgBackRest flake (#1859)
Co-authored-by: samrose <[email protected]>
1 parent 69b35ff commit a354427

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

flake.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
git-hooks.url = "github:cachix/git-hooks.nix";
2020
git-hooks.inputs.nixpkgs.follows = "nixpkgs";
2121
nixpkgs-go124.url = "github:Nixos/nixpkgs/d2ac4dfa61fba987a84a0a81555da57ae0b9a2b0";
22+
nixpkgs-pgbackrest.url = "github:nixos/nixpkgs/nixos-unstable-small";
2223
};
2324

2425
outputs =

nix/packages/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
migrate-tool = pkgs.callPackage ./migrate-tool.nix { psql_15 = self'.packages."psql_15/bin"; };
4141
overlayfs-on-package = pkgs.callPackage ./overlayfs-on-package.nix { };
4242
packer = pkgs.callPackage ./packer.nix { inherit inputs; };
43+
pg-backrest = inputs.nixpkgs-pgbackrest.legacyPackages.${pkgs.system}.pgbackrest;
4344
pg-restore = pkgs.callPackage ./pg-restore.nix { psql_15 = self'.packages."psql_15/bin"; };
4445
pg_prove = pkgs.perlPackages.TAPParserSourceHandlerpgTAP;
4546
pg_regress = makePgRegress activeVersion;

0 commit comments

Comments
 (0)