restic: disable tests on non-linux

This commit is contained in:
Adam Stephens
2024-11-09 10:05:12 -05:00
parent 120103ec7c
commit 38a52bbfd4
+3 -1
View File
@@ -25,7 +25,9 @@ buildGoModule rec {
nativeCheckInputs = [ python3 ];
passthru.tests.restic = nixosTests.restic;
passthru.tests = lib.optionalAttrs stdenv.isLinux {
restic = nixosTests.restic;
};
postPatch = ''
rm cmd/restic/cmd_mount_integration_test.go