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:
parent
04c41e753b
commit
4bc1d02698
@ -221,5 +221,8 @@ in stdenv.mkDerivation {
|
|||||||
license = stdenv.lib.licenses.psfl;
|
license = stdenv.lib.licenses.psfl;
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
maintainers = with stdenv.lib.maintainers; [ chaoflow domenkozar ];
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user