From 12d9eac8f050dda7a0dce726d438cc38ff6b6f8c Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 12 Feb 2017 10:27:36 +0100 Subject: [PATCH] pythonPackages.argparse: only for Python < 2.7 --- pkgs/top-level/python-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0588ab5b3e2a..1a67e14a35a4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1321,7 +1321,7 @@ in { }; - argparse = buildPythonPackage (rec { + argparse = if (pythonAtLeast "2.7") then null else buildPythonPackage (rec { name = "argparse-1.4.0"; src = pkgs.fetchurl {