Merge pull request #71792 from FRidh/twisted

python.pkgs.twisted: move twisted cache generation to postFixup
This commit is contained in:
Timo Kaufmann 2019-10-23 15:15:09 +02:00 committed by GitHub
commit a2aeec6c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,9 @@ buildPythonPackage rec {
# http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
# and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for
# details.
postInstall = "$out/bin/twistd --help > /dev/null";
postFixup = ''
$out/bin/twistd --help > /dev/null
'';
checkPhase = ''
${python.interpreter} -m unittest discover -s twisted/test