From 167d42970d3d0339b1af2a75230c32cfcbfc7317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 3 Feb 2010 13:37:49 +0000 Subject: [PATCH] Twisted: Attempt to generate the plug-in cache. svn path=/nixpkgs/trunk/; revision=19782 --- pkgs/top-level/python-packages.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 79e0c453aa4c..68967a3162b1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -242,6 +242,8 @@ rec { propagatedBuildInputs = [ twisted ]; + postInstall = "twistd --help > /dev/null"; + meta = { description = "Nevow, a web application construction kit for Python"; @@ -549,6 +551,12 @@ rec { propagatedBuildInputs = [ pkgs.ZopeInterface ]; + # Generate Twisted's plug-in cache. Twited users must do it as well. See + # 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"; + meta = { homepage = http://twistedmatrix.com/;