about summary refs log tree commit diff
path: root/pkgs/top-level/python-packages.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-08-02 10:32:48 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-08-02 10:33:05 +0200
commit2988112a0ccae54766247385934d463ba2ad5ce6 (patch)
tree3df7d1cbd58d5ccc259323e91fab77d445c2fc95 /pkgs/top-level/python-packages.nix
parent402a53736eab190dc08ea8c350568f0b16b8c9f8 (diff)
downloadnixlib-2988112a0ccae54766247385934d463ba2ad5ce6.tar
nixlib-2988112a0ccae54766247385934d463ba2ad5ce6.tar.gz
nixlib-2988112a0ccae54766247385934d463ba2ad5ce6.tar.bz2
nixlib-2988112a0ccae54766247385934d463ba2ad5ce6.tar.lz
nixlib-2988112a0ccae54766247385934d463ba2ad5ce6.tar.xz
nixlib-2988112a0ccae54766247385934d463ba2ad5ce6.tar.zst
nixlib-2988112a0ccae54766247385934d463ba2ad5ce6.zip
pythonPackages: remove pythonName
because it is not used anywhere
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r--pkgs/top-level/python-packages.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 381d8c56b845..e00fc0c3e1a7 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -24,16 +24,6 @@ let
 
   buildPythonApplication = args: buildPythonPackage ({namePrefix="";} // args );
 
-  # Unique python version identifier
-  pythonName =
-    if isPy26 then "python26" else
-    if isPy27 then "python27" else
-    if isPy33 then "python33" else
-    if isPy34 then "python34" else
-    if isPy35 then "python35" else
-    if isPy36 then "python36" else
-    if isPyPy then "pypy" else "";
-
   modules = python.modules or {
     readline = null;
     sqlite3 = null;