summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch
AgeCommit message (Collapse)Author
2025-06-20gnu: ruby-anystyle: Update to 1.4.2.Nicolas Graves
* gnu/packages/ruby.scm (ruby-anystyle): Update to 1.4.2. [native-inputs]: Add ruby-gdbm. * gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch: Update patch. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2022-08-04gnu: ruby-anystyle: Initialize dictionary files.Philip McGrath
For the GDBM and Marshal dictionary adapters to be useful with their default settings, we must initialize their data files during the package build: upstream would initialize them lazily, but that doesn't work with an immutable installation directory (at least, not without more complex patches). Otherwise, we would always end up rebuilding the dictionary at startup, which is “slow” and “not recommended”. * gnu/packages/patches/ruby-anystyle-fix-dictionary-populate.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/ruby.scm (ruby-anystyle)[patches]: Use it. [arguments]<#:phases>: Add 'populate-dictionaries' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>