summary refs log tree commit diff
path: root/pkgs/development/python-modules/magic-wormhole/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/magic-wormhole/default.nix')
-rw-r--r--pkgs/development/python-modules/magic-wormhole/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/magic-wormhole/default.nix b/pkgs/development/python-modules/magic-wormhole/default.nix
index d25daaf21bc..353e2c0e053 100644
--- a/pkgs/development/python-modules/magic-wormhole/default.nix
+++ b/pkgs/development/python-modules/magic-wormhole/default.nix
@@ -24,6 +24,7 @@
 
 # tests
 , nettools
+, unixtools
 , mock
 , magic-wormhole-transit-relay
 , magic-wormhole-mailbox-server
@@ -72,7 +73,8 @@ buildPythonPackage rec {
     magic-wormhole-mailbox-server
     pytestCheckHook
   ]
-  ++ passthru.optional-dependencies.dilation;
+  ++ passthru.optional-dependencies.dilation
+  ++ lib.optionals stdenv.isDarwin [ unixtools.locale ];
 
   disabledTests = lib.optionals stdenv.isDarwin [
     # These tests doesn't work within Darwin's sandbox