resticprofile: disable some additional tests
This commit is contained in:
parent
f47fe6a7dc
commit
559e9a7f9d
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user