This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new c9d72fffa9d gnu: neovim: prevent embedding gcc store path.
c9d72fffa9d is described below

commit c9d72fffa9dff933c43461738591c3a32ad185f1
Author: Zheng Junjie <[email protected]>
AuthorDate: Fri Nov 13 22:46:26 2026 +0800

    gnu: neovim: prevent embedding gcc store path.
    
    * gnu/packages/vim.scm (neovim)[arguments]<#:phases>: Adjust
    prevent-embedding-gcc-store-path phase.
    
    Merges: guix/guix#12522
---
 gnu/packages/vim.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a9f9a9cae92..cc6dcb3d8b5 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -880,9 +880,9 @@ is based on Vim's builtin plugin support.")
                    ;; nvim remembers its build options, including the compiler 
with
                    ;; its complete path.  This adds gcc to the closure of 
nvim, which
                    ;; doubles its size.  We remove the reference here.
-                   (substitute* "cmake.config/versiondef.h.in"
-                     (("\\$\\{CMAKE_C_COMPILER\\}") "/gnu/store/.../bin/gcc"))
-                   #t))
+                   (substitute* (list "cmake.config/CMakeLists.txt"
+                                      "cmake.config/versiondef.h.in")
+                     (("\\$\\{CMAKE_C_COMPILER\\}") 
"/gnu/store/.../bin/gcc"))))
                (add-after 'install 'install-guix-nvim.vim
                  (lambda* (#:key outputs #:allow-other-keys)
                    (let ((nvimdir (string-append (assoc-ref outputs "out")

Reply via email to