mealie: 1.7.0 -> 1.9.0

Also fix a small issue with the module not casting the port number
to a string
This commit is contained in:
Pyrox 2024-06-19 20:46:34 -04:00
parent babf045aae
commit d94a39f87d
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ in
PRODUCTION = "true"; PRODUCTION = "true";
ALEMBIC_CONFIG_FILE="${pkg}/config/alembic.ini"; ALEMBIC_CONFIG_FILE="${pkg}/config/alembic.ini";
API_PORT = toString cfg.port; API_PORT = toString cfg.port;
BASE_URL = "http://localhost:${cfg.port}"; BASE_URL = "http://localhost:${toString cfg.port}";
DATA_DIR = "/var/lib/mealie"; DATA_DIR = "/var/lib/mealie";
CRF_MODEL_PATH = "/var/lib/mealie/model.crfmodel"; CRF_MODEL_PATH = "/var/lib/mealie/model.crfmodel";
} // (builtins.mapAttrs (_: val: toString val) cfg.settings); } // (builtins.mapAttrs (_: val: toString val) cfg.settings);

View File

@ -9,12 +9,12 @@
}: }:
let let
version = "1.7.0"; version = "1.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mealie-recipes"; owner = "mealie-recipes";
repo = "mealie"; repo = "mealie";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-z7kLBDzvzPWY7XmpROMpw3LcDpsl+hA+w1SdhrD/yNU="; hash = "sha256-gg7ClclBS9j9n4/3HLxbX8HXTz9Zw5+BYG2MEYRsRBU=";
}; };
frontend = callPackage (import ./mealie-frontend.nix src version) { }; frontend = callPackage (import ./mealie-frontend.nix src version) { };