From ab20404e75d6e7dd5fbaedbc355dcda092c19523 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 8 May 2024 00:52:02 +0100 Subject: [PATCH] mealie: prepend version with a 'v' This fixes the update checker in mealie's admin settings. Previously it considered the mealie version was out of date when the version of the deployment, e.g. "1.6.0", did not match the latest version, "v1.6.0". --- pkgs/by-name/me/mealie/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/me/mealie/package.nix b/pkgs/by-name/me/mealie/package.nix index 2d1512f67ebc..0bd096f7977c 100644 --- a/pkgs/by-name/me/mealie/package.nix +++ b/pkgs/by-name/me/mealie/package.nix @@ -112,7 +112,7 @@ in pythonpkgs.buildPythonPackage rec { postPatch = '' substituteInPlace mealie/__init__.py \ - --replace-fail '__version__ = ' '__version__ = "${version}" #' + --replace-fail '__version__ = ' '__version__ = "v${version}" #' ''; postInstall = let