about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJascha Geerds <jascha@jgeerds.name>2016-12-01 20:41:14 +0100
committerJascha Geerds <jascha@jgeerds.name>2016-12-01 20:41:14 +0100
commitbfc2721ebf08a414f0268e9f4913a563a6b86999 (patch)
tree29dea770d97d2f867285691f9ec12bce5327fe1f
parent297ea7550caa2f27dbdde17c526350e148c6be79 (diff)
downloadnixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.tar
nixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.tar.gz
nixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.tar.bz2
nixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.tar.lz
nixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.tar.xz
nixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.tar.zst
nixlib-bfc2721ebf08a414f0268e9f4913a563a6b86999.zip
pythonPackages.docker: Fix build for python3
-rw-r--r--pkgs/top-level/python-packages.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 09f35be2798a..d2f63239eed3 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6079,13 +6079,16 @@ in {
   docker = buildPythonPackage rec {
     name = "docker-py-${version}";
     version = "1.10.6";
-    disabled = isPy3k;
 
     src = pkgs.fetchurl {
       url = "mirror://pypi/d/docker-py/${name}.tar.gz";
       sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc";
     };
 
+    buildInputs = [
+      pkgs.glibcLocales
+    ];
+
     propagatedBuildInputs = with self; [
       six
       requests2
@@ -6098,6 +6101,8 @@ in {
     # Version conflict
     doCheck = false;
 
+    LC_ALL="en_US.UTF-8";
+
     meta = {
       description = "An API client for docker written in Python";
       homepage = https://github.com/docker/docker-py;