octoprint: fix eval

Relying on attributes like these to always be available is prone to an
eval error when the overridden package drops them.
main
Martin Weinelt 2 years ago
parent 3d0ccac7fe
commit 95769fb2c8
  1. 4
      pkgs/applications/misc/octoprint/default.nix

@ -233,7 +233,7 @@ let
self: super: {
falcon = super.falcon.overridePythonAttrs (oldAttrs: rec {
#pytestFlagsArray = [ "-W ignore::DeprecationWarning" ];
disabledTestPaths = oldAttrs.disabledTestPaths ++ [
disabledTestPaths = oldAttrs.disabledTestPaths or [] ++ [
"tests/asgi/test_asgi_servers.py"
];
});
@ -244,7 +244,7 @@ let
(
self: super: {
sanic = super.sanic.overridePythonAttrs (oldAttrs: rec {
disabledTestPaths = oldAttrs.disabledTestPaths ++ [
disabledTestPaths = oldAttrs.disabledTestPaths or [] ++ [
"test_cli.py"
"test_cookies.py"
# requires network

Loading…
Cancel
Save