commit 110e57354e86b7458e8c66e4ba89a8ddb604d606 parent fca3ae9623df2ff58f97464e85aebea2763a0a63 Author: Andreas Gruhler <agruhl@gmx.ch> Date: Tue, 17 Dec 2024 16:44:28 +0100 feat: add borgbackup nix-shell Diffstat:
M | README | | | 4 | ++++ |
A | borg2/shell.nix | | | 12 | ++++++++++++ |
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/README b/README @@ -6,7 +6,11 @@ This is my collection of nixpkgs. A place where I goof around, mostly. Collection: * oama (https://github.com/pdobsan/oama) * babeltrace2 (https://search.nixos.org/packages?query=babeltrace) +* borgbackup2 (use this shell to build Borg2 with pip) + - https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/by-name/bo/borgbackup/package.nix + - https://borgbackup.readthedocs.io/en/master/installation.html#using-pip Further links: * https://write.in0rdr.ch/building-haskell-projects-for-nix * https://write.in0rdr.ch/building-and-installing-a-c-project-with-nix +* https://write.in0rdr.ch/borg2-backup-with-rclone diff --git a/borg2/shell.nix b/borg2/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import <nixpkgs> {} }: + pkgs.mkShell { + nativeBuildInputs = with pkgs.buildPackages; [ + pkg-config + openssl + lz4 + zstd + xxHash + acl + ]; +} +