Do not use top-level buildPythonPackage or buildPythonApplication

but instead use the one in pythonPackages.
This commit is contained in:
Frederik Rietdijk
2016-09-26 11:10:51 +02:00
parent 2f4da5bd83
commit 3ba16c8234
22 changed files with 68 additions and 83 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, buildPythonApplication, python, w3m, file }:
{ stdenv, fetchurl, pythonPackages, w3m, file }:
buildPythonApplication rec {
pythonPackages.buildPythonApplication rec {
name = "ranger-1.7.2";
meta = {
@@ -15,7 +15,7 @@ buildPythonApplication rec {
sha256 = "0yaviybviwdvfg2a0pf2kk28g10k245499xmbpqlai7fv91f7xll";
};
propagatedBuildInputs = [ python.modules.curses file ];
propagatedBuildInputs = [ pythonPackages.python.modules.curses file ];
preConfigure = ''
substituteInPlace ranger/ext/img_display.py \