magic-wormhole: add missing Darwin dependency

This commit is contained in:
midchildan 2023-11-10 01:30:43 +09:00
parent dab5c7b167
commit 65caecccb9
No known key found for this signature in database
GPG Key ID: A64DE57FA5963935

View File

@ -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