GNU bug report logs -
#78315
[PATCH emacs-team 00/53] More fixes, and a lot of style improvements.
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/emacs-xyz.scm (emacs-libyaml):
[arguments]<phases>: Improve 'substitute-libyaml-core-path style.
---
gnu/packages/emacs-xyz.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2e2609b88c..57601c76da 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -34602,10 +34602,10 @@ (define-public emacs-libyaml
(add-after 'unpack 'substitute-libyaml-core-path
(lambda _
(make-file-writable "libyaml.el")
- (substitute* "libyaml.el"
- (("^\\(require 'libyaml-core\\)")
- (string-append "(module-load \"" #$output
- "/lib/libyaml-core.so\")")))))
+ (emacs-substitute-sexps "libyaml.el"
+ ("(require 'libyaml-core)"
+ `(module-load
+ ,(string-append #$output "/lib/libyaml-core.so"))))))
(add-after 'check 'make
;; Run make.
(lambda* (#:key (make-flags '()) #:allow-other-keys)
--
2.49.0
This bug report was last modified 21 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.