guix/gnu
Philip McGrath 14a50b62d4
gnu: ruby-anystyle: Initialize dictionary files.
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>
2022-08-04 12:05:52 +02:00
..
bootloader
build
home
installer
machine
packages gnu: ruby-anystyle: Initialize dictionary files. 2022-08-04 12:05:52 +02:00
services
system
tests
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: ruby-anystyle: Initialize dictionary files. 2022-08-04 12:05:52 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm