Fix build for python3Packages.spyder

pylint (using Python 2.7) got propagated into python3Packages.spyder
so Python 2.7 setup-hook was used instead of python34.

Now that pylint is part of pythonPackages attribute set, pylint is
used with python3.4 as a base.
This commit is contained in:
Domen Kožar
2015-12-02 19:07:46 +01:00
parent 787be7b80e
commit 6cf4e29c4f
3 changed files with 7 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pythonPackages }:
{ stdenv, fetchurl, astroid, buildPythonPackage }:
pythonPackages.buildPythonPackage rec {
buildPythonPackage rec {
name = "pylint-1.4.1";
namePrefix = "";
@@ -9,7 +9,7 @@ pythonPackages.buildPythonPackage rec {
sha256 = "0c7hw1pcp5sqmc0v86zygw21isfgzbsqdmlb1sywncnlxmh30f1y";
};
propagatedBuildInputs = with pythonPackages; [ astroid ];
propagatedBuildInputs = [ astroid ];
postInstall = ''
mkdir -p $out/share/emacs/site-lisp