Merge pull request #266499 from midchildan/fix/magic-wormhole/darwin-locale

magic-wormhole: add missing Darwin dependency
This commit is contained in:
Weijia Wang 2023-11-12 19:09:49 +01:00 committed by GitHub
commit 0c9d7ffee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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