grantlee: 5.2.0 -> 5.3.1

This commit is contained in:
K900 2023-03-18 11:00:36 +03:00
parent 27e7233eba
commit 9359136d3a
2 changed files with 3 additions and 3 deletions

View file

@ -2,14 +2,14 @@
mkDerivation rec {
pname = "grantlee";
version = "5.2.0";
version = "5.3.1";
grantleePluginPrefix = "lib/grantlee/${lib.versions.majorMinor version}";
src = fetchFromGitHub {
owner = "steveire";
repo = "grantlee";
rev = "v${version}";
sha256 = "sha256-mAbgzdBdIW1wOTQNBePQuyTgkKdpn1c+zR3H7mXHvgk=";
sha256 = "sha256-enP7b6A7Ndew2LJH569fN3IgPu2/KL5rCmU/jmKb9sY=";
};
buildInputs = [ qtbase qtscript ];

View file

@ -9,7 +9,7 @@ Index: grantlee-5.1.0/templates/lib/templateloader.cpp
- if (file.exists()
- && !fi.canonicalFilePath().contains(
- QDir(d->m_templateDirs.at(i)).canonicalPath()))
- return Template();
- return {};
++i;
}