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 = ''