diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-04-27 08:54:42 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-04-27 08:54:42 +0300 |
| commit | c2b3c7a00b1c7e08bfe5141333d0d02f015e375c (patch) | |
| tree | 879f97049fc342e57ac73ece5117705aadeb46c1 /gnu/packages/vim.scm | |
| parent | 0c1d3421910530f29130ecb4ee124f7a443cfa62 (diff) | |
gnu: vim-full: Don't overwrite configure flags.
* gnu/packages/vim.scm (vim-full)[arguments]: Adjust the inherited
configure-flags instead of prepending configure-flags to the inherited
arguments.
Fixes: guix/guix#8116
Change-Id: I522b03620ffe6668876843b30bb90f44e521484d
Diffstat (limited to 'gnu/packages/vim.scm')
| -rw-r--r-- | gnu/packages/vim.scm | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index de0383658b1..5997f50ca75 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm | |||
| @@ -232,39 +232,39 @@ with the editor vim."))) | |||
| 232 | (inherit vim) | 232 | (inherit vim) |
| 233 | (name "vim-full") | 233 | (name "vim-full") |
| 234 | (arguments | 234 | (arguments |
| 235 | (cons* | 235 | (substitute-keyword-arguments arguments |
| 236 | #:configure-flags | 236 | ((#:configure-flags flags #~'()) |
| 237 | #~(list (string-append "--with-lua-prefix=" | 237 | #~(cons* (string-append "--with-lua-prefix=" |
| 238 | #$(this-package-input "lua")) | 238 | #$(this-package-input "lua")) |
| 239 | "--with-features=huge" | 239 | "--with-features=huge" |
| 240 | "--enable-python3interp=yes" | 240 | "--enable-python3interp=yes" |
| 241 | "--enable-perlinterp=yes" | 241 | "--enable-perlinterp=yes" |
| 242 | "--enable-rubyinterp=yes" | 242 | "--enable-rubyinterp=yes" |
| 243 | "--enable-tclinterp=yes" | 243 | "--enable-tclinterp=yes" |
| 244 | "--enable-luainterp=yes" | 244 | "--enable-luainterp=yes" |
| 245 | "--enable-cscope" | 245 | "--enable-cscope" |
| 246 | "--enable-sniff" | 246 | "--enable-sniff" |
| 247 | "--enable-multibyte" | 247 | "--enable-multibyte" |
| 248 | "--enable-xim" | 248 | "--enable-xim" |
| 249 | "--disable-selinux" | 249 | "--disable-selinux" |
| 250 | "--enable-gui") | 250 | "--enable-gui" |
| 251 | (substitute-keyword-arguments arguments | 251 | #$flags)) |
| 252 | ((#:phases phases) | 252 | ((#:phases phases) |
| 253 | #~(modify-phases #$phases | 253 | #~(modify-phases #$phases |
| 254 | (add-before 'check 'skip-some-more-tests | 254 | (add-before 'check 'skip-some-more-tests |
| 255 | (lambda _ | 255 | (lambda _ |
| 256 | ;; Fontconfig can't figure out its cache directory. | 256 | ;; Fontconfig can't figure out its cache directory. |
| 257 | (substitute* "src/testdir/test_startup.vim" | 257 | (substitute* "src/testdir/test_startup.vim" |
| 258 | ((".*Test_progname.*" line) | 258 | ((".*Test_progname.*" line) |
| 259 | (string-append line "return\n"))))) | 259 | (string-append line "return\n"))))) |
| 260 | ;; Some tests require an X server, but do not start one. | 260 | ;; Some tests require an X server, but do not start one. |
| 261 | (add-before 'check 'start-xserver | 261 | (add-before 'check 'start-xserver |
| 262 | (lambda _ | 262 | (lambda _ |
| 263 | (setenv "DISPLAY" ":1") | 263 | (setenv "DISPLAY" ":1") |
| 264 | (zero? (system #$(file-append | 264 | (zero? (system #$(file-append |
| 265 | (this-package-native-input | 265 | (this-package-native-input |
| 266 | "xorg-server") | 266 | "xorg-server") |
| 267 | "/bin/Xvfb :1 &")))))))))) | 267 | "/bin/Xvfb :1 &"))))))))) |
| 268 | (native-inputs | 268 | (native-inputs |
| 269 | (modify-inputs native-inputs | 269 | (modify-inputs native-inputs |
| 270 | (prepend pkg-config xorg-server-for-tests))) | 270 | (prepend pkg-config xorg-server-for-tests))) |
