From 05d7c131d105e9e51b57e98bc8ed0f5bdb81ae62 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 19 Sep 2008 10:07:57 +0000 Subject: [PATCH] Re-apply Eelco's "installCommand --> installPhase" patch. svn path=/nixpkgs/trunk/; revision=12892 --- pkgs/development/python-modules/twisted/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index d80054e05535..a34907e261c4 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -7,10 +7,10 @@ stdenv.mkDerivation { sha256 = "0q25zbr4xzknaghha72mq57kh53qw1bf8csgp63pm9sfi72qhirl"; }; buildInputs = [python]; + propagatedBuildInputs = [ZopeInterface makeWrapper]; - buildPhase = "true"; - installCommand = - '' + + installPhase = '' python ./setup.py install --prefix=$out --install-lib=$(toPythonPath $out) -O1 for n in $out/bin/*; do wrapProgram $n --set PYTHONPATH "$(toPythonPath $out):$PYTHONPATH:\$PYTHONPATH"; done '';