twitch-dl: use writableTmpDirAsHomeHook (#398906)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user