forked from mirrors/nixpkgs
ntfy: disable Darwin-native ntfy backend dependencies
This commit is contained in:
parent
0491e30670
commit
f2c3880ed4
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue