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.
This commit is contained in:
Frederik Rietdijk 2017-02-26 15:57:01 +01:00
parent 04c41e753b
commit 4bc1d02698

View File

@ -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;
};
}