Merge pull request #71792 from FRidh/twisted
python.pkgs.twisted: move twisted cache generation to postFixup
commita2aeec6c35d77f859af729d6c916eef571eacf7f
authorTimo Kaufmann <timokau@zoho.com>
dateWed 23 Oct 2019, 15:15 (7 years ago)
parentf3258d46ab609c
pkgs/development/python-modules/twisted/default.nix+3−1
@@ -39,7 +39,9 @@ buildPythonPackage rec {
3939 # http://twistedmatrix.com/documents/current/core/howto/plugin.html#auto3
4040 # and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477103 for
4141 # details.
42− postInstall = "$out/bin/twistd --help > /dev/null";
42+ postFixup = ''
43+ $out/bin/twistd --help > /dev/null
44+ '';
4345
4446 checkPhase = ''
4547 ${python.interpreter} -m unittest discover -s twisted/test