Skip to content

Commit 38a52bb

Browse files
committed
restic: disable tests on non-linux
1 parent 120103e commit 38a52bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/tools/backup/restic/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ buildGoModule rec {
2525

2626
nativeCheckInputs = [ python3 ];
2727

28-
passthru.tests.restic = nixosTests.restic;
28+
passthru.tests = lib.optionalAttrs stdenv.isLinux {
29+
restic = nixosTests.restic;
30+
};
2931

3032
postPatch = ''
3133
rm cmd/restic/cmd_mount_integration_test.go

0 commit comments

Comments
 (0)