about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyparted/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyparted/default.nix')
-rw-r--r--pkgs/development/python-modules/pyparted/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pyparted/default.nix b/pkgs/development/python-modules/pyparted/default.nix
index ebdd762b6d06..24acecdaf8c2 100644
--- a/pkgs/development/python-modules/pyparted/default.nix
+++ b/pkgs/development/python-modules/pyparted/default.nix
@@ -29,7 +29,7 @@ buildPythonPackage rec {
         s|e\.path\.startswith("/tmp/temp-device-")|"temp-device-" in e.path|
       ' tests/test__ped_ped.py
     ''
-    + lib.optionalString stdenv.isi686 ''
+    + lib.optionalString stdenv.hostPlatform.isi686 ''
       # remove some integers in this test case which overflow on 32bit systems
       sed -i -r -e '/class *UnitGetSizeTestCase/,/^$/{/[0-9]{11}/d}' \
         tests/test__ped_ped.py