about summary refs log tree commit diff
path: root/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/qcodes-contrib-drivers/default.nix')
-rw-r--r--pkgs/development/python-modules/qcodes-contrib-drivers/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix b/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix
index 4c2db9b41f5c..d6bd8c809582 100644
--- a/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix
+++ b/pkgs/development/python-modules/qcodes-contrib-drivers/default.nix
@@ -50,11 +50,11 @@ buildPythonPackage rec {
   pythonImportsCheck = [ "qcodes_contrib_drivers" ];
 
   disabledTests =
-    lib.optionals (stdenv.isDarwin) [
+    lib.optionals (stdenv.hostPlatform.isDarwin) [
       # At index 13 diff: 'sour6:volt 0.29000000000000004' != 'sour6:volt 0.29'
       "test_stability_diagram_external"
     ]
-    ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
+    ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
       # AssertionError: assert ['outp:trig4:...9999996', ...] == ['outp:trig4:...t 0.266', ...]
       "test_stability_diagram_external"
     ];