about summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p/stig
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-04-04 16:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-04-04 16:20:00 -0500
commit5b17f17f7962da9a5ddcabf5075beefd2537ba2f (patch)
treee9472a6ecd7edc82107c2d25e3241299e09d8061 /pkgs/applications/networking/p2p/stig
parent247458f606d87b54610b796fd3fb85fe75aa0006 (diff)
stig: fix build
Diffstat (limited to 'pkgs/applications/networking/p2p/stig')
-rw-r--r--pkgs/applications/networking/p2p/stig/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/p2p/stig/default.nix b/pkgs/applications/networking/p2p/stig/default.nix
index 80b8251f2a3ff..325dc653e5b43 100644
--- a/pkgs/applications/networking/p2p/stig/default.nix
+++ b/pkgs/applications/networking/p2p/stig/default.nix
@@ -26,7 +26,7 @@ python3.pkgs.buildPythonApplication rec {
       --replace "urwidtrees>=1.0.3dev0" "urwidtrees"
   '';
 
-  buildInputs = with python3.pkgs; [
+  propagatedBuildInputs = with python3.pkgs; [
     urwid
     urwidtrees
     aiohttp
@@ -43,8 +43,10 @@ python3.pkgs.buildPythonApplication rec {
     pytest
   ];
 
+  # test_string__month_day_hour_minute_second fails on darwin
   checkPhase = ''
-    pytest tests
+    LC_ALL=en_US.utf8 pytest tests \
+      --deselect=tests/client_test/ttypes_test.py::TestTimestamp::test_string__month_day_hour_minute_second
   '';
 
   meta = with lib; {