GNU bug report logs -
#53523
[PATCH] gnu: Add tree-sitter.
Previous Next
Full log
View this message in rfc822 format
Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com> writes:
> @@ -670,13 +671,19 @@ (define-public neovim
> (commit (string-append "v" version))))
> (file-name (git-file-name name version))
> (sha256
> - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m"))))
> + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx"))))
> (build-system cmake-build-system)
> (arguments
> `(#:modules ((srfi srfi-26)
> (guix build cmake-build-system)
> (guix build utils))
> - #:configure-flags '("-DPREFER_LUA:BOOL=YES")
> + #:configure-flags
> + (list ,@(if (member (if (%current-target-system)
> + (gnu-triplet->nix-system (%current-target-system))
> + (%current-system))
> + (package-supported-systems luajit))
> + '()
> + '("-DPREFER_LUA:BOOL=YES")))
> #:phases
> (modify-phases %standard-phases
> (add-after 'unpack 'set-lua-paths
We can just remove `-DPREFER_LUA:BOOL` flags. Since we have a fallback
from luajit to lua,
this macro won't take any effect.
FYI, you can take a look about usage of this macro from here:
https://github.com/neovim/neovim/blob/8ed9c84481a7d0df0708d11ffa538f832591240f/CMakeLists.txt#L431
BTW, I have tested this patch set on the x86_64 platform and it works
perfectly. Maybe it's time to involve committers for reviewing this
patch.
This bug report was last modified 3 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.