mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-libyaml: Improve style.
* gnu/packages/emacs-xyz.scm (emacs-libyaml): [arguments]<phases>: Improve 'substitute-libyaml-core-path style. Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
6a2862186e
commit
0421924c2b
1 changed files with 4 additions and 4 deletions
|
@ -34885,10 +34885,10 @@ utilities.")
|
|||
(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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue