update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey C. Ollie 2024-09-05 17:22:36 -05:00
parent 764e63292d
commit 71ccccf88d
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -46,9 +46,9 @@
hash = hash; hash = hash;
}; };
env = { # env = {
RESTIC_TEST_FUSE = "false"; # RESTIC_TEST_FUSE = "false";
}; # };
patches = [ patches = [
# The TestRestoreWithPermissionFailure test fails in Nix's build sandbox # The TestRestoreWithPermissionFailure test fails in Nix's build sandbox
@ -62,10 +62,12 @@
pkgs.makeWrapper pkgs.makeWrapper
]; ];
nativeCheckInputs = [pkgs.python3];
passthru.tests.restic = pkgs.nixosTests.restic; passthru.tests.restic = pkgs.nixosTests.restic;
postPatch = '' postPatch = ''
# rm cmd/restic/integration_fuse_test.go rm cmd/restic/cmd_mount_integration_test.go
''; '';
postInstall = postInstall =
@ -113,7 +115,7 @@
"--rclone" "--rclone"
"${pkgs.rclone}/bin/rclone" "${pkgs.rclone}/bin/rclone"
"--restic" "--restic"
"${pkgs-unstable.restic}/bin/restic" "${self.packages.${pkgs.system}.restic}/bin/restic"
"--cache-dir" "--cache-dir"
"/cache" "/cache"
]; ];
@ -136,11 +138,10 @@
config, config,
lib, lib,
pkgs, pkgs,
pkgs-unstable,
... ...
}: let }: let
cfg = config.restic; cfg = config.restic;
package = pkgs-unstable.restic; package = self.packages.${pkgs.system}.restic;
in { in {
options = { options = {
restic = lib.options.mkOption { restic = lib.options.mkOption {