Merge pull request #330502 from TomaSajt/resticprofile

resticprofile: fix darwin build by disabling some additional tests
This commit is contained in:
Sandro
2024-08-01 23:21:30 +02:00
committed by GitHub
+2 -5
View File
@@ -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 = ''