Skip to content

Commit

Permalink
octoprint: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed May 13, 2019
1 parent 2a96ed5 commit 395a9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/misc/octoprint/default.nix
Expand Up @@ -82,7 +82,7 @@ in py.pkgs.buildPythonApplication rec {
pylru pyyaml sarge feedparser netifaces click websocket_client
scandir chainmap future dateutil futures wrapt monotonic emoji
frozendict
];
] ++ lib.optionals stdenv.isDarwin [ py.pkgs.appdirs ];

checkInputs = with py.pkgs; [ nose mock ddt ];

Expand All @@ -95,7 +95,7 @@ in py.pkgs.buildPythonApplication rec {
'';

checkPhase = ''
HOME=$(mktemp -d) nosetests
HOME=$(mktemp -d) nosetests ${lib.optionalString stdenv.isDarwin "--exclude=test_set_external_modification"}
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 395a9de

Please sign in to comment.