fix(sterni/emacs): fix build on i686-linux by avoiding CBQN
Skip setting bqn-interpreter-path on 32bit – contrary to the LanguageTool integration, bqn-mode is still useful without the binary which doesn't compile on i686-linux. Change-Id: If4493e3e72307ca14984c660f376952cbdcc201c Reviewed-on: https://cl.tvl.fyi/c/depot/+/6887 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
parent
059dea0e32
commit
880ea8a8fe
1 changed files with 17 additions and 17 deletions
|
@ -54,12 +54,12 @@ let
|
|||
(pkgs.writeTextFile {
|
||||
name = "injected-emacs.d";
|
||||
destination = "/nix-inject.el";
|
||||
text = ''
|
||||
text =
|
||||
# Java doesn't seem to be available for non 64bit platforms in nixpkgs
|
||||
# CBQN doesn't seem to support i686 at least
|
||||
lib.optionalString is64bit ''
|
||||
;; bqn-mode
|
||||
(setq bqn-interpreter-path "${pkgs.cbqn}/bin/BQN")
|
||||
''
|
||||
# Java doesn't seem to be available for non 64bit platforms in nixpkgs
|
||||
+ lib.optionalString is64bit ''
|
||||
|
||||
;; languagetool
|
||||
(setq languagetool-java-bin "${pkgs.jre}/bin/java"
|
||||
|
|
Loading…
Add table
Reference in a new issue