From 5d23b70b98f3db88360b639e117fec79695a1a84 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 8 May 2022 12:33:50 -0400 Subject: [PATCH] Remove clojure environment --- README.org | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/README.org b/README.org index c1a3ea8..f061146 100644 --- a/README.org +++ b/README.org @@ -428,33 +428,6 @@ mkShell { } #+END_SRC -** Clojure - -[[https://clojure.org][Clojure]] is a dynamic and functional dialect of the Lisp programming language on the Java platform. Like other dialects, Clojure treats code as data and has a Lisp macro system. The current development process is community driven. Unfortunately the tooling does not comply with the XDG directory specification, so we bring it into the modern age kicking and screaming with a custom shell script binary. - -Import this shell with ~nix-shell /etc/dotfiles/shells/clojure.nix~. - - -#+BEGIN_SRC nix :noweb yes :tangle shells/clojure.nix -# <> -{ pkgs ? import { } }: - -with pkgs; - -let - myLein = pkgs.writeShellScriptBin "lein" '' - HOME=~/.local/share/lein ${pkgs.leiningen}/bin/lein - ''; - -in mkShell { - buildInputs = [ - myLein - ]; - shellHook = '' - ''; -} -#+END_SRC - * Host Configurations [[https://nixos.org/][NixOS]] typically stores the current machine configuration in =/etc/nixos/configuration.nix=. In this project, this file is stored in =/etc/dotfiles/hosts/$HOSTNAME/...=, and imported, along with the generated hardware configurations. This ensures that multiple host machines can share the same modules, and generating new host definitions is trivial. It also makes it easier to share common configurations amongst all of the hosts, such as with pre-configured wireless networking: @@ -1117,7 +1090,6 @@ let <> <> <> - <> <> # User interface packages. @@ -1195,7 +1167,6 @@ When Emacs is started, it normally tries to load a Lisp program from an ititiali <> <> <> -<> <> <> @@ -2512,24 +2483,6 @@ epkgs.protobuf-mode epkgs.typescript-mode #+END_SRC -** Clojure Environment - -#+NAME: emacs-clojure-package -#+BEGIN_SRC nix -epkgs.clojure-mode -epkgs.cider -#+END_SRC - -[[https://github.com/clojure-emacs/clojure-mode][Clojure Mode]] is an Emacs major mode that provides font-lock (syntax highlighting), indentation, navigation, and refactoring support for the [[https://clojure.org][Clojure]] programming language. [[https://github.com/clojure-emacs/cider][Cider]] extends Emacs with support for interactive programming in Clojure. The features are centered around =cider-mode=, adding a running process for compilation, code completion, debugging, definition and documentation lookup, running tests, and more. - -#+NAME: emacs-clojure-elisp -#+BEGIN_SRC emacs-lisp -;; Configure `clojure-mode' and `cider'. -(add-hook 'clojure-mode-hook 'lsp) -(add-hook 'clojurescript-mode-hook 'lsp) -(add-hook 'clojurec-mode-hook 'lso) -#+END_SRC - ** PlantUML #+NAME: emacs-plantuml-extras