diff options
-rw-r--r-- | pkgs/tools/misc/ntfy/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ntfy/default.nix b/pkgs/tools/misc/ntfy/default.nix index 02f32adbbbf..bde0e734534 100644 --- a/pkgs/tools/misc/ntfy/default.nix +++ b/pkgs/tools/misc/ntfy/default.nix @@ -64,6 +64,12 @@ in python.pkgs.buildPythonApplication rec { }) ]; + postPatch = '' + # We disable the Darwin specific things because it relies on pyobjc, which we don't have. + substituteInPlace setup.py \ + --replace "':sys_platform == \"darwin\"'" "'darwin'" + ''; + checkPhase = '' HOME=$(mktemp -d) ${python.interpreter} setup.py test ''; |