From bc2de56572872eefdc2992b34cce69c77deb485a Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:32 -0400 Subject: gnu: ruby-anystyle-data: Don't write to installed gem. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/patches/ruby-anystyle-data-immutable-install.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/ruby.scm (ruby-anystyle-data)[patches]: Use it. Signed-off-by: Ludovic Courtès --- gnu/packages/ruby.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/packages/ruby.scm') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index cdb9f538307..6e0b2dd14c0 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13446,6 +13446,8 @@ the power of the built-in @code{OptionParser}.") (snippet ;; remove pre-built file #~(delete-file "lib/anystyle/data/dict.txt.gz")) + (patches + (search-patches "ruby-anystyle-data-immutable-install.patch")) (file-name (git-file-name name version)))) (build-system ruby-build-system) (arguments -- cgit v1.3