From 38a52bbfd43066c7cd28ffa4f1e3a8d59c13c3a6 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sat, 9 Nov 2024 10:05:12 -0500 Subject: [PATCH] restic: disable tests on non-linux --- pkgs/tools/backup/restic/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index e3c96d10a239..b525d50d7dfe 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -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