twitch-dl: use writableTmpDirAsHomeHook (#398906)

This commit is contained in:
Arne Keller
2025-04-17 11:51:34 +02:00
committed by GitHub
+2 -4
View File
@@ -5,6 +5,7 @@
installShellFiles,
scdoc,
ffmpeg,
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
@@ -38,6 +39,7 @@ python3Packages.buildPythonApplication rec {
nativeCheckInputs = [
python3Packages.pytestCheckHook
writableTmpDirAsHomeHook
];
disabledTestPaths = [
@@ -72,10 +74,6 @@ python3Packages.buildPythonApplication rec {
installManPage twitch-dl.1
'';
preInstallCheck = ''
export HOME="$(mktemp -d)"
'';
meta = with lib; {
description = "CLI tool for downloading videos from Twitch";
homepage = "https://github.com/ihabunek/twitch-dl";