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