diff --git a/pkgs/tools/audio/beets/plugins/copyartifacts.nix b/pkgs/tools/audio/beets/plugins/copyartifacts.nix index 132eda28ed30..d9d95a9f25d9 100644 --- a/pkgs/tools/audio/beets/plugins/copyartifacts.nix +++ b/pkgs/tools/audio/beets/plugins/copyartifacts.nix @@ -19,11 +19,13 @@ python3Packages.buildPythonApplication rec { pytestFlagsArray = [ "-r fEs" ]; - nativeCheckInputs = with python3Packages; [ - pytestCheckHook + nativeCheckInputs = [ + python3Packages.pytestCheckHook beets - six ]; + preCheck = '' + export HOME=$(mktemp -d) + ''; meta = { description = "Beets plugin to move non-music files during the import process";