From 079353e20851073e9b5de183ab24414d7cd54ccb Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 26 Feb 2017 16:27:45 +0100 Subject: [PATCH] Python 2.7: increase priority - fixup From the manual: > This attribute should be a number, with a higher value denoting a lower priority. The default priority is 0. Just passing -5 or -10 wasn't sufficient, so let's make it -100. --- pkgs/development/interpreters/python/cpython/2.7/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/cpython/2.7/default.nix b/pkgs/development/interpreters/python/cpython/2.7/default.nix index c5306fe7891c..8426902414a7 100644 --- a/pkgs/development/interpreters/python/cpython/2.7/default.nix +++ b/pkgs/development/interpreters/python/cpython/2.7/default.nix @@ -223,6 +223,6 @@ in stdenv.mkDerivation { 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; + priority = -100; }; }