From 4b68826b8c245c509c6536e611a2a2bafc308051 Mon Sep 17 00:00:00 2001 From: Logan Pulley Date: Tue, 9 Jun 2026 13:16:19 -0500 Subject: [PATCH] restic: 0.18.1 -> 0.19.0 --- nixos/tests/restic.nix | 5 +++-- pkgs/by-name/re/restic/package.nix | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nixos/tests/restic.nix b/nixos/tests/restic.nix index 68ce843879b3..3b3ef6380722 100644 --- a/nixos/tests/restic.nix +++ b/nixos/tests/restic.nix @@ -122,7 +122,7 @@ in ]; }; remote-from-file-backup = { - inherit passwordFile exclude pruneOpts; + inherit passwordFile pruneOpts; initialize = true; repositoryFile = pkgs.writeText "repositoryFile" remoteFromFileRepository; paths = [ @@ -130,7 +130,8 @@ in "/opt/a_dir/a_file_2" ]; dynamicFilesFrom = '' - find /opt -mindepth 1 -maxdepth 1 ! -name a_dir # all files in /opt except for a_dir + # all files in /opt except for a_dir and excluded_file_* + find /opt -mindepth 1 -maxdepth 1 ! -name a_dir ! -name excluded_file_* ''; }; remote-from-command-backup = { diff --git a/pkgs/by-name/re/restic/package.nix b/pkgs/by-name/re/restic/package.nix index 51c086ea76c1..76ec9ee316eb 100644 --- a/pkgs/by-name/re/restic/package.nix +++ b/pkgs/by-name/re/restic/package.nix @@ -14,13 +14,13 @@ buildGoModule (finalAttrs: { pname = "restic"; - version = "0.18.1"; + version = "0.19.0"; src = fetchFromGitHub { owner = "restic"; repo = "restic"; rev = "v${finalAttrs.version}"; - hash = "sha256-lLinqZUOsZCPPybvVDB1f8o9Hl5qKYi0eHwJAaydsD8="; + hash = "sha256-9o67zhGDnWNuKGDun3OXtzZHKqw/vCzx5sLuQd/HzRY="; }; patches = [ @@ -28,7 +28,7 @@ buildGoModule (finalAttrs: { ./0001-Skip-testing-restore-with-permission-failure.patch ]; - vendorHash = "sha256-4GVhG1sjFiuKyDUAgmSmFww5bDKIoCjejkkoSqkvU4E="; + vendorHash = "sha256-iJLnmxReBoHnt1xfewmmNs+fG3nqcNSpfJ1998wXKNU="; subPackages = [ "cmd/restic" ];