diff --git a/flake.nix b/flake.nix index b213889..3264109 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,6 @@ ] ++ appDeps; buildDeps = [pkgs.dart-sass] ++ appDeps; - debugDeps = [pkgs.python3Packages.django-debug-toolbar] ++ runtimeDeps; geoip = pkgs.stdenv.mkDerivation { name = "geoip"; @@ -92,6 +91,11 @@ --add-flags e11sync.wsgi \ --add-flags --bind=127.0.0.1:${toString gunicornPort} ''; + passthru.tests = { + simple = pkgs.runCommand {} "e11sync-test" '' + exit 1; + ''; + }; }; apps.e11sync-gunicorn = { @@ -104,7 +108,7 @@ LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; GEOIP_PATH = "${geoip}"; E11SYNC_DEBUG = "1"; - packages = debugDeps; + packages = [pkgs.python3Packages.django-debug-toolbar] ++ runtimeDeps ++ buildDeps; }; formatter = pkgs.alejandra;