diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-02-26 15:57:01 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-02-26 16:07:52 +0100 |
commit | 4bc1d02698967b4f0ced8b7a6a43b9244d0591b1 (patch) | |
tree | d6cff7c3ba1e2eddc3fdb3541a71dfead2ae55d4 /pkgs/development/interpreters/python/cpython | |
parent | 04c41e753b1b3bbb0709984b11d89c3ee9846259 (diff) | |
download | nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.tar nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.tar.gz nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.tar.bz2 nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.tar.lz nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.tar.xz nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.tar.zst nixlib-4bc1d02698967b4f0ced8b7a6a43b9244d0591b1.zip |
Python 2.7: increase priority
Higher priority than Python 3.x so that `/bin/python` points to `/bin/python2` in case both 2 and 3 are installed.
Diffstat (limited to 'pkgs/development/interpreters/python/cpython')
-rw-r--r-- | pkgs/development/interpreters/python/cpython/2.7/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/cpython/2.7/default.nix b/pkgs/development/interpreters/python/cpython/2.7/default.nix index 0f09bf7650bf..c5306fe7891c 100644 --- a/pkgs/development/interpreters/python/cpython/2.7/default.nix +++ b/pkgs/development/interpreters/python/cpython/2.7/default.nix @@ -221,5 +221,8 @@ in stdenv.mkDerivation { license = stdenv.lib.licenses.psfl; platforms = stdenv.lib.platforms.all; maintainers = with stdenv.lib.maintainers; [ chaoflow domenkozar ]; + # Higher priority than Python 3.x so that `/bin/python` points to `/bin/python2` + # in case both 2 and 3 are installed. + priority = 5; }; } |