Commit ab20404e authored by Andrew Morgan's avatar Andrew Morgan
Browse files

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".
parent 7d9adbac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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