mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
svtplay-dl: fix build for Python 3.12
For now we simply disable checks for 3.12 and later. Also enable pre and post check hooks.
This commit is contained in:
parent
7936809dd4
commit
4b118df632
@ -51,9 +51,13 @@ stdenv.mkDerivation rec {
|
||||
--prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
doCheck = python3Packages.pythonOlder "3.12";
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
sh scripts/run-tests.sh -2
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
Loading…
Reference in New Issue
Block a user