python.pkgs.cherrypy: spilt expression in two

This commit is contained in:
Robert Schütz
2019-03-27 15:07:06 +01:00
parent 5f47ad0f8a
commit 489d7351da
3 changed files with 56 additions and 29 deletions

View File

@@ -1363,7 +1363,10 @@ in {
cheetah = callPackage ../development/python-modules/cheetah { };
cherrypy = callPackage ../development/python-modules/cherrypy {};
cherrypy = if isPy3k then
callPackage ../development/python-modules/cherrypy { }
else
callPackage ../development/python-modules/cherrypy/17.nix { };
cfgv = callPackage ../development/python-modules/cfgv { };