about summary refs log tree commit diff
path: root/pkgs/development/python2-modules/jinja2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python2-modules/jinja2/default.nix')
-rw-r--r--pkgs/development/python2-modules/jinja2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python2-modules/jinja2/default.nix b/pkgs/development/python2-modules/jinja2/default.nix
index 3b593338763f..1b6948a66aad 100644
--- a/pkgs/development/python2-modules/jinja2/default.nix
+++ b/pkgs/development/python2-modules/jinja2/default.nix
@@ -22,7 +22,7 @@ buildPythonPackage rec {
   # Multiple tests run out of stack space on 32bit systems with python2.
   # See https://github.com/pallets/jinja/issues/1158
   # warnings are no longer being filtered correctly for python2
-  doCheck = !stdenv.is32bit && isPy3k;
+  doCheck = !stdenv.hostPlatform.is32bit && isPy3k;
 
   checkPhase = ''
     pytest -v tests -W ignore::DeprecationWarning