1

add app: e11sync-gunicorn

This commit is contained in:
Motiejus Jakštys 2024-01-13 17:45:12 +02:00
parent af7647dd95
commit fd7cbc93a4

View File

@ -57,7 +57,7 @@
cp ${geoip2-country} $out/GeoLite2-Country.mmdb cp ${geoip2-country} $out/GeoLite2-Country.mmdb
''; '';
}; };
in { in rec {
packages.e11sync-static = pkgs.stdenv.mkDerivation { packages.e11sync-static = pkgs.stdenv.mkDerivation {
name = "e11sync-static"; name = "e11sync-static";
src = self; src = self;
@ -94,6 +94,12 @@
''; '';
}; };
apps.e11sync-gunicorn = {
type = "app";
name = "e11sync-gunicorn";
program = "${packages.e11sync-gunicorn}/bin/entrypoint";
};
devShells.default = pkgs.mkShellNoCC { devShells.default = pkgs.mkShellNoCC {
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
GEOIP_PATH = "${geoip}"; GEOIP_PATH = "${geoip}";