From 559e9a7f9d48be9005b9f68ef466c09174a33945 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Sat, 27 Jul 2024 22:32:11 +0200 Subject: [PATCH] resticprofile: disable some additional tests --- pkgs/by-name/re/resticprofile/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/re/resticprofile/package.nix b/pkgs/by-name/re/resticprofile/package.nix index 2903a9987833..83e0463d8dcb 100644 --- a/pkgs/by-name/re/resticprofile/package.nix +++ b/pkgs/by-name/re/resticprofile/package.nix @@ -50,11 +50,8 @@ buildGoModule rec { rm priority/ioprio_test.go # tries to set nice(2) IO priority rm restic/downloader_test.go # tries to use network rm schedule/schedule_test.go # tries to use systemctl - - # `config/path_test.go` expects `$HOME` to be the same as `~nixbld` which is `$NIX_BUILD_TOP` - export HOME="$NIX_BUILD_TOP" - # `util/tempdir_test.go` expects `$HOME/.cache` to exist - mkdir "$HOME/.cache" + rm config/path_test.go # expects normal environment + rm util/tempdir_test.go # expects normal environment ''; installPhase = ''