mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: neovim: Remove unneeded reference.
gnu/packages/vim.scm (neovim)[arguments]: Add a phase to remove a reference to the compiler.
This commit is contained in:
parent
bf67988070
commit
9fbd0b1769
1 changed files with 9 additions and 1 deletions
|
@ -775,7 +775,15 @@ (define-public neovim
|
|||
(string-join (map lua-path-spec lua-inputs) ";"))
|
||||
(setenv "LUA_CPATH"
|
||||
(string-join (map lua-cpath-spec lua-inputs) ";"))
|
||||
#t))))))
|
||||
#t)))
|
||||
(add-after 'unpack 'prevent-embedding-gcc-store-path
|
||||
(lambda _
|
||||
;; 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 refirence here.
|
||||
(substitute* "cmake/GetCompileFlags.cmake"
|
||||
(("\\$\\{CMAKE_C_COMPILER\\}") "/gnu/store/.../bin/gcc"))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("libuv" ,libuv)
|
||||
("msgpack" ,msgpack)
|
||||
|
|
Loading…
Reference in a new issue